Skip to content

Use yaml permission definitions instead of constants

Jarka Košanová requested to merge use-yml-for-permission-definitions into master

What does this MR do and why?

In !138313 (merged) we started loading custom ability definitions from the yaml file.

This MR starts using these abilities instead of constants defined in MemberRole model.

How to set up and validate locally

  1. Go to a group - Settings - Roles and Permissions and play around
  2. Go to a group - Manage - Members and try to assign various custom roles to a user

MR acceptance checklist

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

Closes #434349 (closed)

Edited by Jarka Košanová

Merge request reports