Hi Experts,
Client wants to give their users the ability to set or change their primary picture. The least privilege we can give to System User entity is at Business Unit level privilege. Clients do not want Users of the same Business Unit be able to change other User details/primary picture.
Currently, we are only allowing users to update System User record if:
1. They are updating their own System User record.
2. They have System Admin security role.
We would like to add another validation that check if User Security Role has Global/Organization level privilege to System User entity.
How can we check for the Privilege Dept of current login user to System User entity in plugin? Thanks.
*This post is locked for comments