You need to sign in to do that
Don't have an account?
Varun17
Restrict users to assign permission set to other users
Hi All
Is there a way to restrict users say(System admin's) from assigning permission sets to other users ? We want to restrict users from assigning permission sets to other users from audit purpose by showing them a validation error when they attempt to assign a permision set to another user. We also need to allow few Admins to perform this activity(I was thinking of a hierarchy custom setting and then using it in apex)
It seems the user record doesnt get updated when we assign a permission set to a user record so the trigger on user wont work .
As far as I know we cannot write a trigger on permission set and permission set assignment.
Any workarounds ? any help is appreciated
Is there a way to restrict users say(System admin's) from assigning permission sets to other users ? We want to restrict users from assigning permission sets to other users from audit purpose by showing them a validation error when they attempt to assign a permision set to another user. We also need to allow few Admins to perform this activity(I was thinking of a hierarchy custom setting and then using it in apex)
It seems the user record doesnt get updated when we assign a permission set to a user record so the trigger on user wont work .
As far as I know we cannot write a trigger on permission set and permission set assignment.
Any workarounds ? any help is appreciated
All Answers
May be invoke a flow at set inteval and check for changes in object PermissionSetAssignment and if they were assigned by restricted system admin to other users then remove the permissionset and also send a notification for tracking.
Thanks
Prashant
Hi All,
I'm also looking for same solution, please let me know if anybody gets any solution.
Thanks
Jitendra