Skip to content

Init custom role definitions from yaml files

Jarka Košanová requested to merge load-permission-definitions into master

What does this MR do and why?

This is another MR to help with the custom permissions development. In Add generator for custom ability yaml files (!137714 - merged) we introduced a generator that should be used whenever a new permission is created.

This MR starts using the generated files - it just loads them during the init phase. The next MR will start using them instead of constants we have defined in MemberRole.

The reasons for splitting these 2 MRs are:

  • having the MR smaller -> easier to review
  • verifying step by step that everything is working as expected

How to set up and validate locally

  1. Simply restart gdk

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 Jarka Košanová

Merge request reports