I have a scenario where for some particular scenario I don’t want Role membership to be removed from the users even if the assignment criteria doesn’t satisfy , we do have around 6k roles, so apart from updating the role assignment condition is there any better approach to do this
Note - As I said it in only under a particular scenario so in other cases my Role removal should work
I was thinking about this requirement, I don’t think there are straight answers for this.
You can apply some magic here
I believe you are Referring Business Roles here with Assignment logic.
In Assignment logic, along with your criteria add an OR condition as if user has this Role already then return true, as long as assignment is true Role will not be removed.
thanks a lot for the response, Yes as mentioned in my post I have this as last option because my existing conditions on roles are not straight forward there are multiple attribute conditions , filters , rules etc. on these rules and my condition for not to remove I have to update accordingly for each role because that current condition is again based on existing conditions plus a new attribute.
So instead of having this looking if any other option is available, if no option seems available I may end up with this one.
Hi @sathishiam
I might have a way to achieve this, but not sure how much helpful it would be for you.
Create a role attribute “conditionalProv” and select the type as “Rule”. You can write a rule to assign a default value for the attribute in each role.
@soswain_resmed
thanks for the response, but again my requirement here is not to remove the role only during a particular life cycle event condition and the role list is not a handy set of roles and doesn’t have specific naming conditions to do , that’s the challenge , anyhow thanks for the response here, really appreciate.
I think the big question is: what about this scenario/event is removing the role?
Are Identity attributes changing (is that the reason the role would get removed).
If so, at what point do you want the dynamic assignment to start working again? What changes to re-enable that function?
If this is just a matter of ‘during this particular refresh → perform maintenance don’t process role removals’, then the simplest option would be to update the refresh task to remove the option to ‘Refresh assigned, detected roles and promote additional entitlements’