summaryrefslogtreecommitdiff
path: root/app/policies
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-07-17 11:32:04 +1200
committerThong Kuah <tkuah@gitlab.com>2019-07-19 09:53:56 +1200
commit88bf3fe8b4c07d38b331fc1d72487ba2b351395c (patch)
tree7d0b4859ac72f10b35078c9faa648773b27942bd /app/policies
parentddf2dcf7fdad69135cee590307773b255d2fe0b5 (diff)
downloadgitlab-ce-88bf3fe8b4c07d38b331fc1d72487ba2b351395c.tar.gz
Adds cluster_for_group factory for convienencegroup_with_cluster_factory
Also means we don't have to resort to an update statement to set parent for child groups who also have clusters. This is much shorter than ``` create(:cluster, :provided_by_gcp, :group, groups: [group]) ```
Diffstat (limited to 'app/policies')
0 files changed, 0 insertions, 0 deletions