Skip to content

Add Milestone Inherited Permissions Specs to project_policy_spec

What does this MR do and why?

This MR adds specs to project_policy_spec based on the modified P1 test cases from the permissions wizard in https://gitlab.com/gitlab-org/quality/team-tasks/-/issues/1406+ in order to test inherited user permissions around the :read_milestone policy.

It also includes new shared examples in project_policy_shared_examples that helps test several other project policies in addition to :read_milestone for private projects.

Not every test case is added yet, and this will be one of several foundational MRs will include examples and refactoring for other SETs to contribute. Once merged, the issue will be updated to reflect what additional tests will be needed.

Related to https://gitlab.com/gitlab-org/quality/team-tasks/-/issues/1413+

Epic: https://gitlab.com/groups/gitlab-org/quality/-/epics/35+

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Valerie Burton

Merge request reports