|if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');|
|class TeamSecurity extends SugarVisibility|
|public function addVisibilityFrom(&$query)|
|public function addVisibilityFromQuery(SugarQuery $query, $options = array())|
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Checked your solution out. This is good in some cases. But I have another scenario. Throughout SugarCRM, we're able to see that Teams security will limit record visibility. However, if we were to choose or add a new Team to any record, we see all available Teams in Sugar, as opposed to just the Teams the user is a part of. Would we be able to use this override to further enforce Team Visibility at the popup level, and only display Teams this user is a part of, and no more? Thanks!