AnsweredAssumed Answered

Check team base permission using logic hooks

Question asked by Lucas Albero on Nov 27, 2018
Latest reply on Nov 27, 2018 by Patrick McQueen



According to Sugar documentation you can enable team based permissions by default, so when an user is creating a record the team default permissions is checked. 

If the Administrator has enabled team-based permissions, you may optionally indicate whether the teams on each set should be automatically set to "selected" (Additional Permissions Enabled). source


But this is not working as expected as seen in this bug (79318)


This is affecting some of our clients and we are looking for a way to set this using some customization.


One resolution we thought is to check the team base permissions in a logic hook, but we couldn't find what variable in the $bean to mark for this.


Is there a way(or any other way) to do this? This workaround would be very welcome since not having the team based permission marked as default really compromises the user experience.