Venkatesh Kannan f043beb3e9 Persist admin event only when roles is non-empty
Currently, an adminEvent is created regardless of if the roles passed to the
role-mapping API is empty. The event should only be created when the list
`roles` is non-empty.

Closes #33195

Signed-off-by: Venkatesh Kannan <venkatesprasad512@gmail.com>
2024-11-29 10:51:35 -03:00
..