diff options
Diffstat (limited to 'spec/support/shared_contexts/policies')
-rw-r--r-- | spec/support/shared_contexts/policies/group_policy_shared_context.rb | 4 | ||||
-rw-r--r-- | spec/support/shared_contexts/policies/project_policy_table_shared_context.rb | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/spec/support/shared_contexts/policies/group_policy_shared_context.rb b/spec/support/shared_contexts/policies/group_policy_shared_context.rb index 4564fa23236..c6ea665a160 100644 --- a/spec/support/shared_contexts/policies/group_policy_shared_context.rb +++ b/spec/support/shared_contexts/policies/group_policy_shared_context.rb @@ -12,14 +12,14 @@ RSpec.shared_context 'GroupPolicy context' do let(:public_permissions) do %i[ - read_group read_counts read_issue + read_group read_counts read_issue read_namespace read_label read_issue_board_list read_milestone read_issue_board ] end let(:guest_permissions) do %i[ - read_label read_group upload_file read_namespace read_namespace_via_membership read_group_activity + read_label read_group upload_file read_namespace_via_membership read_group_activity read_group_issues read_group_boards read_group_labels read_group_milestones read_group_merge_requests ] diff --git a/spec/support/shared_contexts/policies/project_policy_table_shared_context.rb b/spec/support/shared_contexts/policies/project_policy_table_shared_context.rb index 11f6d816fc1..04bbbcb1c36 100644 --- a/spec/support/shared_contexts/policies/project_policy_table_shared_context.rb +++ b/spec/support/shared_contexts/policies/project_policy_table_shared_context.rb @@ -83,16 +83,16 @@ RSpec.shared_context 'ProjectPolicyTable context' do :public | :anonymous | nil | 1 :internal | :admin | true | 1 - :internal | :admin | false | 0 - :internal | :reporter | nil | 0 - :internal | :guest | nil | 0 - :internal | :non_member | nil | 0 + :internal | :admin | false | 1 + :internal | :reporter | nil | 1 + :internal | :guest | nil | 1 + :internal | :non_member | nil | 1 :internal | :anonymous | nil | 0 :private | :admin | true | 1 :private | :admin | false | 0 - :private | :reporter | nil | 0 - :private | :guest | nil | 0 + :private | :reporter | nil | 1 + :private | :guest | nil | 1 :private | :non_member | nil | 0 :private | :anonymous | nil | 0 end |