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
:repository_size_limit,
:request_access_enabled,
:share_with_group_lock,
:shared_runners_minutes_limit,
:visibility_level
)
end
......
......@@ -30,8 +30,6 @@
= render 'group_lfs_settings', f: f
= render 'shared_runners_minutes_setting', f: f
.form-group
%hr
= 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