Skip to content

Incorporate GroupPolicy into updated namespace policy structure

What does this MR do and why?

Subclasses GroupPolicy from NamespacePolicy. Also introduces a shared parent policy for ProjectNamespace/Group per (&6689 (comment 715514674))

The resulting structure is:

graph TD;
    NamespacePolicy-->GroupProjectNamespaceSharedPolicy;
    NamespacePolicy-->UserNamespacePolicy;
    GroupProjectNamespaceSharedPolicy-->GroupPolicy;
    GroupProjectNamespaceSharedPolicy-->ProjectNamespacePolicy;
    ProjectPolicy;

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

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

Related to #346776 (closed)

Edited by charlie ablett

Merge request reports

Loading