Idira Identity: Can role be restored if it was deleted?
85
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:11 PM
Question
Can role be restored if it was deleted?
Environment
21.2
Answer
Currently, it is impossible to restore a role from back-end
In order to check which group/user were added to the role before, following query can be run in Report
SELECT WhenOccurred,EventMessage,EventType,FromIPAddress,NormalizedUser,Role,PrincipalType,PrincipalUuid,PrincipalName
FROM Event
WHERE (EventType = "Cloud.Core.Access.Role.Update" or EventType="Cloud.Core.Access.Role.Edit")
AND WhenOccurred > DateFunc('now','-365')
and EditType="AddPrincipal"
and Role = "Role Name"
order by WhenOccurred desc
This query will shows users/groups that are added to role "Role Name" for the last 365 days
In order to prevent this in the future, there is a back-end that can be enabled per tenant in order to show a Warning message before you try to delete the role