Log audit event when custom role is created
What does this MR do and why?
It creates audit event whenever a new member role is created. The roles can be then displayed in the Admin interface
Screenshots or screen recordings
How to set up and validate locally
- Go to group member roles, eg. https://gdk.test:3443/groups/flightjs/-/settings/roles_and_permissions
- Add a new custom role
- Navigate to Admin - Monitoring - Audit events
- Verify you see the member role creation including its name (in the message) and assigned roles (in the details)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #388934 (closed)