English 中文(简体)
SugarCRM - how to make users see only child users?
原标题:

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". George should only be able to see child users and descendants of those child users. George should not be able to see anyone above him.

How can I achieve this? will sugar support this feature?

最佳回答

I learned that this requires a lot of code customization. Here s a thread that explains it

http://www.sugarcrm.com/forums/showthread.php?t=59216

问题回答

@John - You need to look at creating roles under role management. Role management allows you to enable / disable rights.





相关问题
Hierarchical structure iteration and LINQ

Assume that we have class public class RMenuItem { public List<RMenuItem> ChildrenItems { get; } public decimal OperationID { get; } public string Name { get; } } as you can see - ...

How to avoid circular relationship in SQL-Server?

I am creating a self-related table: Table Item columns: ItemId int - PK; Amount money - not null; Price money - a computed column using a UDF that retrieves value according to the items ancestors ...

Tree data in MySql database table

I have a table that uses Adjacency list model for hierarchy storage. My most relevant columns in this table are therefore: ItemId // is auto_increment ParentId Level ParentTrail // in the form of "...

Simplest way to do a recursive self-join?

What is the simplest way of doing a recursive self-join in SQL Server? I have a table like this: PersonID | Initials | ParentID 1 CJ NULL 2 EB 1 3 MB ...

热门标签