Commit 7e904919 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix permission escalation by not allowing to bump shared_runners_minutes by regular user

parent 8c47ec83
...@@ -132,7 +132,6 @@ class GroupsController < Groups::ApplicationController ...@@ -132,7 +132,6 @@ class GroupsController < Groups::ApplicationController
:repository_size_limit, :repository_size_limit,
:request_access_enabled, :request_access_enabled,
:share_with_group_lock, :share_with_group_lock,
:shared_runners_minutes_limit,
:visibility_level :visibility_level
) )
end end
......
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
= render 'group_lfs_settings', f: f = render 'group_lfs_settings', f: f
= render 'shared_runners_minutes_setting', f: f
.form-group .form-group
%hr %hr
= f.label :membership_lock, class: 'control-label' do = f.label :membership_lock, class: 'control-label' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment