Commit 6c1fb415 authored by Kerri Miller's avatar Kerri Miller

Merge branch 'ajk-move-admin-board-group-policies' into 'master'

Resolve "FOSS broken `master` due to spec/requests/api/group_boards_spec.rb" [RUN AS-IF-FOSS]

See merge request gitlab-org/gitlab!51502
parents 7599dbbf a9b40f18
...@@ -122,6 +122,7 @@ class GroupPolicy < BasePolicy ...@@ -122,6 +122,7 @@ class GroupPolicy < BasePolicy
rule { reporter }.policy do rule { reporter }.policy do
enable :reporter_access enable :reporter_access
enable :read_container_image enable :read_container_image
enable :admin_board
enable :admin_label enable :admin_label
enable :admin_list enable :admin_list
enable :admin_issue enable :admin_issue
......
...@@ -129,7 +129,6 @@ module EE ...@@ -129,7 +129,6 @@ module EE
rule { reporter }.policy do rule { reporter }.policy do
enable :admin_list enable :admin_list
enable :admin_board
enable :view_productivity_analytics enable :view_productivity_analytics
enable :view_type_of_work_charts enable :view_type_of_work_charts
enable :read_group_timelogs enable :read_group_timelogs
......
...@@ -23,6 +23,7 @@ RSpec.shared_context 'GroupPolicy context' do ...@@ -23,6 +23,7 @@ RSpec.shared_context 'GroupPolicy context' do
let(:reporter_permissions) do let(:reporter_permissions) do
%i[ %i[
admin_label admin_label
admin_board
read_container_image read_container_image
read_metrics_dashboard_annotation read_metrics_dashboard_annotation
read_prometheus read_prometheus
......
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