SugarCRM - how to make users see only child users?

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-03-23T19:11:19Z Indexed on 2010/03/23 19:13 UTC
Read the original article Hit count: 582

Hello, I want to change the behaviour of Sugar CRM community version. Here's what sugar currently does:

1) Admin logs into Sugar.

2) Admin clicks on Admin tab.

3) Admin creates a new user named George with admin access

4) Under user information section, Admin makes George report to Admin (in the database, it will show users.report_to_id is the admin's user_id)

5) Admin saves and logs out

6) George logs in with his password

7) George goes to admin tab.

8) George goes to list users page and sees all users, including Admin, the person he is supposed to report to.

I want to change step 8 such that George is not allowed to see the user he reports to. Additionally, he is not allowed to see his grand parent user, great grand parent user, great great grand parent user etc... George should only be able to see users that he creates.

How can I achieve this? Is this even possible?

© Stack Overflow or respective owner

Related posts about sugarcrm

Related posts about user-management