Commit a9b40f18 authored by Alex Kalderimis's avatar Alex Kalderimis

Move admin_board policies to FOSS

parent 8fefb07a
...@@ -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