cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Translate the entire conversation x

Disabling the ?Add participants to team? action for certain roles

RajuPulavarthi
10-Marble

Disabling the ?Add participants to team? action for certain roles

Allen,

This cannot be controlled by the Access control. You would have to write
a Validator for the action that would check the business rules and
either hides/displays the icon for certain roles. The Customization
guide has details about the Validators (Create and associate it to the
UI Action). You may end up extending the OOTB
TeamCCActionColumnValidator TeamCCValidator classes .





There are other ways to accomplish too where you may have to create a
Server side class listening the creation/deletion of the
RolePrincipalMap objects (Link between the user, role and the team) ,
check the business rules and throw Exception when the users modify the
roles (Add/remove) that you don't want them to modify.





Hope this helps,

Raju
0 REPLIES 0
Announcements
Top Tags