Commit graph

3 commits

Author SHA1 Message Date
Mayra Cabrera
01ed3a1511 Allow users to add cluster with ancestors
Include a new policy in Clusterables
(projects and groups), which checks if another cluster
can be added

clusterable_has_cluster? and multiple_clusters_available
private methods will be overriden in EE

Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/34758
2018-12-24 10:28:40 -06:00
Lin Jen-Shin
b577faf785 Rename the module and add a simple test to check
if all methods are also presented in the user.
2018-07-27 17:52:45 +08:00
Lin Jen-Shin
e3aaa56c92 Introduce PolicyCheckable for checking policies 2018-07-25 21:06:27 +08:00