I have been using Ribbon Workbench for enabling buttons on entities and often we have a requirement to enable a certain button for a specific team. I have been using the entity privilege display rules for this in past but this requires Teams to have specific privileges which gets a bit complicated once we have more than a couple of buttons on the same entity with requirements for different teams to see different ones. I know the same visibility can also be controlled via javascript to check user roles/teams..etc but I do believe that the entity privilege method is more efficient in terms of performance of loading form. Also as a point to note the individual users have no more than 10 teams assigned to them in our application. This is why I need some other views on what you would think is the best way to control visibility of buttons in this case, i.e is it preferable to use Entity privilege or should I go for Javascript which appears more logically obvious(see clearly what it does) ?
*This post is locked for comments