I have added the team to module but how do I set it selected, what I meant by that is the lock needs to be unlocked, but I need to do this via php not JS.
I have added the team to module but how do I set it selected, what I meant by that is the lock needs to be unlocked, but I need to do this via php not JS.
Where do you get this "lock" view for teams? Any additional software?
Hi Harald Kuske ,
it looks like Team-Based Role Permissions https://support.sugarcrm.com/knowledge_base/users_teams_roles/understanding_team-based_permissions/#Use_Cases
Fred
That's correct. After the team is added we can see the little locks next to it, how do make the team be selected ?
Rodrigo Manara
Sr. Developer
André Lopes or Francesca Shiekh do you know how I do set this programmatically via PHP ?
Rodrigo Manara
Sr. Developer
Sorry Rodrigo Manara ,
I am way behind in versions and I don't even have the team based role permissions yet.
Enrico Simonetti is the one I turn to for all things ACL so maybe he has some ideas
FrancescaS
Thanks Francesca Shiekh
From memory, I believe that's the acl_team_set_id database field.
It is only used as Frédéric Rinaldi stated, when Team-based Role permissions are enabled (which as you would expect, will have performance implications... so use wisely)
You can read more here: support.sugarcrm.com/.../
If you want to look at the code, have a glance at data/visibility/TeamBasedACLVisibility.php and data/acl/SugarACLTeamBased.php and you can look at the schema https://apidocs.sugarcrm.com/schema/13.1.0/ent/columns.html searching for acl_team_set_id
Hope it helps!
--
Enrico Simonetti
Sugar veteran (from 2007)
Feel free to reach out for consulting regarding:
All active SugarCRM certifications
Actively working remotely with customers based in APAC and in the United States
Enrico Simonetti that worked. Thank you.
Rodrigo Manara
Sr. Developer
Enrico Simonetti that worked. Thank you.
Rodrigo Manara
Sr. Developer