Account Re-Assignment

Re: SuiteCRM v7.11.15
I have setup a normal user with Roles configured correctly. How can I prevent a user from re-assigning one of his accounts to another user. Ideally I’d prefer if users couldn’t see other users in the Users or Admin Roles. Currently a user can re-assign an account to another user, allowing him/her to see all sales staff IDs.

Optimally a user could see only 1 dummy user account (non-admin) and then be able to re-assign to that user.

At the moment, it’d be fine if I could use the IS_Admin function to simply show the Assigned To field without the ability to edit/re-assign in either the detail or list views.

Just not sure where and how to code this. Any help would be greatly appreciated.

There is a setting for something similar…
Please go to the security groups settinge page (index.php?module=SecurityGroups&action=config), you should see an option there like " Non-admin users can only assign to users in the same group(s)".
It’s not the solution, but maybe you can use this feature.

Hi Diligent,

Thanks for your reply on this - that setting is already enabled however I’ve temporarily moved the affected users into their own group such that they can only assign an account to another user in that group of users.
It’s an interim workaround for now. Ideally I’d like to make it so that they can’t update/change the Assigned To field in the DetailView screen for each Account. In the EditView screen I was able to display only the Assigned To field - just need to find out where I put the IS_Admin customcode command.

Thanks again for your reply.