Loading
Validate assignable permission name format and disallowed actions
What does this MR do and why?
Add two new validators to the assignable permissions validation task:
- validate_name: ensures permission names match the action_resource format using the same PERMISSION_NAME_REGEX as raw permissions
- validate_action: flags disallowed action verbs (write, manage, admin, etc.) with suggested alternatives
It also renames assignable permissions. The deprecated permissions are migrated in a followup MR.
References
Issue: #586412 (closed)
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
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 Alex Buijs