Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-24 12:09:44 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-24 12:09:44 +0300
commitb1b7c2f9a744197a111c81719c546a474adab4e8 (patch)
tree2fe9d392110fb1fee8a8e6eac1f520425fee1c9c /app/policies/group_policy.rb
parent81c305759174e2f55176356e98d264ea1c4b747d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/group_policy.rb')
-rw-r--r--app/policies/group_policy.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/group_policy.rb b/app/policies/group_policy.rb
index 728c4b76498..7d503b49c14 100644
--- a/app/policies/group_policy.rb
+++ b/app/policies/group_policy.rb
@@ -123,6 +123,7 @@ class GroupPolicy < BasePolicy
enable :set_note_created_at
enable :set_emails_disabled
+ enable :update_default_branch_protection
end
rule { can?(:read_nested_project_resources) }.policy do