summaryrefslogtreecommitdiff
path: root/app/policies
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2018-08-28 07:49:09 +0000
committerSean McGivern <sean@mcgivern.me.uk>2018-08-28 07:49:09 +0000
commit722631a9290e07cc0d83baf7bf332223ab7cf8b6 (patch)
tree3e1b00852e04cb76236a985e57a3afa6d37ebc68 /app/policies
parent881ba3f5977dafda7feee77f841ace290c918a8d (diff)
parentabb50ff4710e264c0c700df88757ee3ab1cf7dfb (diff)
downloadgitlab-ce-722631a9290e07cc0d83baf7bf332223ab7cf8b6.tar.gz
Merge branch 'issue_36138' into 'master'
Allow to delete group milestones Closes #36138 See merge request gitlab-org/gitlab-ce!21057
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/group_policy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/policies/group_policy.rb b/app/policies/group_policy.rb
index a8d7a05f509..333643865e9 100644
--- a/app/policies/group_policy.rb
+++ b/app/policies/group_policy.rb
@@ -53,7 +53,7 @@ class GroupPolicy < BasePolicy
rule { has_access }.enable :read_namespace
- rule { developer }.enable :admin_milestones
+ rule { developer }.enable :admin_milestone
rule { reporter }.policy do
enable :admin_label