summaryrefslogtreecommitdiff
path: root/app/policies/group_policy.rb
diff options
context:
space:
mode:
authorMałgorzata Ksionek <meksionek@gmail.com>2019-02-11 12:53:58 +0100
committerMałgorzata Ksionek <meksionek@gmail.com>2019-02-28 15:27:49 +0100
commit3a321c80031630c3687cfdc08699bb0824a3dbfa (patch)
tree80e5db873438058b8357b630243cf5ae984ef08f /app/policies/group_policy.rb
parentd40a3809fd387f8dc9a28218a004260b600a1412 (diff)
downloadgitlab-ce-3a321c80031630c3687cfdc08699bb0824a3dbfa.tar.gz
Secure vulerability and add specs
Diffstat (limited to 'app/policies/group_policy.rb')
-rw-r--r--app/policies/group_policy.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/policies/group_policy.rb b/app/policies/group_policy.rb
index c25766a5af8..55d8da78dc8 100644
--- a/app/policies/group_policy.rb
+++ b/app/policies/group_policy.rb
@@ -53,7 +53,6 @@ class GroupPolicy < BasePolicy
rule { admin }.enable :read_group
rule { has_projects }.policy do
- enable :read_group
enable :read_label
end