Skip to content

Add ability and matrix policy specs

Chad Woolley requested to merge caw-rd-policy-and-specs into master

Issue: Add unit-level matrix specs for newly-introduce... (#455185)

What does this MR do and why?

Add ability and matrix policy specs

  • Add read_remote_development_cluster_agent_mapping policy
  • Clean up ee/spec/policies/remote_development/workspace_policy_spec.rb
  • Remove unnecessary 'admin' in ee/app/policies/remote_development/agent_policy.rb
  • Backfill matrix unit specs for ee/app/policies/remote_development/agent_policy.rb
  • Switch owner to can?(:owner_access) and remove unnecessary 'admin' in ee/app/policies/remote_development/group_policy.rb
  • Backfill matrix unit specs for ee/app/policies/remote_development/group_policy.rb

See Add unit-level matrix specs for newly-introduce... (#455185) for full details

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

Review completeness and validity of matrix specs according to acceptance criteria in issue: #455185

Edited by Chad Woolley

Merge request reports