Skip to content

Validation: custom role belongs to root namespace

Jessie Young requested to merge jy-custom-role-prep into master

What does this MR do and why?

  • We already have this validation at the API level but not at the ActiveRecord level: !96996 (merged)
  • This MR also expands test coverage for ProjectPolicy and fixes some tests that were failing because of order dependence issues.
  • Pulled these changes from a larger MR to keep things tidy: !98694 (merged)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

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.

Edited by Jessie Young

Merge request reports

Loading