Commit Graph

21 Commits

Author SHA1 Message Date
GitLab Bot 3597fb6d33 Add latest changes from gitlab-org/gitlab@master 2021-06-16 18:10:35 +00:00
GitLab Bot 111e0ef1fa Add latest changes from gitlab-org/gitlab@master 2021-06-16 12:10:18 +00:00
GitLab Bot b20c558db2 Add latest changes from gitlab-org/gitlab@master 2021-06-10 21:10:02 +00:00
GitLab Bot f7bc7dc5ea Add latest changes from gitlab-org/gitlab@master 2021-06-01 21:10:06 +00:00
GitLab Bot 793d974d7c Add latest changes from gitlab-org/gitlab@master 2021-05-14 12:10:58 +00:00
GitLab Bot 0ae8428c8e Add latest changes from gitlab-org/gitlab@master 2021-05-11 21:10:21 +00:00
GitLab Bot 8d9c82762d Add latest changes from gitlab-org/gitlab@master 2021-03-03 00:10:50 +00:00
GitLab Bot 3172281335 Add latest changes from gitlab-org/gitlab@master 2020-12-11 18:09:57 +00:00
GitLab Bot 9517d0eb2c Add latest changes from gitlab-org/gitlab@master 2020-11-11 12:09:06 +00:00
GitLab Bot 3fa28959b9 Add latest changes from gitlab-org/gitlab@master 2020-07-29 06:09:49 +00:00
GitLab Bot e829ca213b Add latest changes from gitlab-org/gitlab@master 2020-06-22 15:09:27 +00:00
GitLab Bot ce493944f4 Add latest changes from gitlab-org/gitlab@master 2020-06-19 18:08:39 +00:00
GitLab Bot 0e65189f85 Add latest changes from gitlab-org/gitlab@master 2020-05-13 09:08:37 +00:00
GitLab Bot b77fb04678 Add latest changes from gitlab-org/gitlab@master 2020-04-13 15:09:20 +00:00
GitLab Bot 5564275a0b Add latest changes from gitlab-org/gitlab@master 2020-02-06 12:10:29 +00:00
GitLab Bot b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
Felipe Artur 13fc0efa57 Let project reporters create issue from group boards
The current state of group issue boards does not show the "Add issues"
button on the UI for users that are reporters of group child projects.
2019-09-04 16:33:02 +00:00
Dylan Griffith dacd0ee18b Refactor: model errors for multi cluster validation
The current approach requires catching exceptions to handle these errors
and callers are already handling model validations so it seems more
appropriate.  Also it seemed to convoluted to add this logic directly to
the model since the model needs to check too many possible associations
to determine whether or not there are more than one cluster since the
model doesn't know what it's being created on. Additionally we only
wanted to validate during create to avoid the risk of existing models
becoming invalid by many different edge cases.
2019-07-11 17:22:58 +10:00
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