Add concern for role-based permission checks
What does this MR do and why?
This change adds the core mechanism that will be used to check customizable role-based DAP permissions in policies.
Based on feedback in !213767 (comment 2906681414)
This MR simplifies the class proposed in !213432 (closed) by moving the implementation into a concern, making it easier for projects to access the customizable permissions.
Example usage: !213767
References
How to set up and validate locally
Green pipeline
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Katherine Richards