You need to sign in or sign up before continuing.
Add audit event types for create, update, and delete custom admin roles event
What does this MR do and why?
Introduce new audit event types for creating, updating, and deleting admin custom roles.
References
Implements [BE] Distinguish audit events for custom admin ... (#536131 - closed).
Screenshots or screen recordings
Screen_Recording_2025-04-16_at_4.52.20_PM
How to set up and validate locally
-
Enable feature flag
$ rails c > Feature.enable(:custom_admin_roles)
-
Login with an admin user (e.g.
root
) -
Go to
/admin/application_settings/roles_and_permissions
-
Create a new admin member role
-
Update the newly created admin member role
-
Delete the member role
-
Go to
/admin/audit_logs
-
Verify that
Admin role was created
,Admin role was updated
, andAdmin role was deleted
audit events are logged
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 Eugie Limpin