Skip to content

Log audit event when custom role is created

Jarka Košanová requested to merge 388934-audit-role-creation into master

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

  1. Go to group member roles, eg. https://gdk.test:3443/groups/flightjs/-/settings/roles_and_permissions
  2. Add a new custom role
  3. Navigate to Admin - Monitoring - Audit events
  4. 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.

Related to #388934 (closed)

Merge request reports

Loading