diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-07 21:09:19 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-07 21:09:19 +0300 |
commit | 3290d46655f07d7ae3dca788d6df9f326972ffd8 (patch) | |
tree | 0d24713e1592cdd3583257f14a52d46a22539ed1 /app/policies/group_policy.rb | |
parent | c6b3ec3f56fa32a0e0ed3de0d0878d25f1adaddf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/group_policy.rb')
-rw-r--r-- | app/policies/group_policy.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/policies/group_policy.rb b/app/policies/group_policy.rb index abd63753908..5e252c8e564 100644 --- a/app/policies/group_policy.rb +++ b/app/policies/group_policy.rb @@ -75,6 +75,9 @@ class GroupPolicy < BasePolicy rule { developer }.policy do enable :admin_milestone enable :read_package + enable :create_metrics_dashboard_annotation + enable :delete_metrics_dashboard_annotation + enable :update_metrics_dashboard_annotation end rule { reporter }.policy do @@ -82,6 +85,7 @@ class GroupPolicy < BasePolicy enable :admin_label enable :admin_list enable :admin_issue + enable :read_metrics_dashboard_annotation end rule { maintainer }.policy do |