Help
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Jim Coyne
Kilo Patron
Included in the Developer Toolbox Update Set available on Share (link to Share in the post).

 

A Form Link, List context menu and List choice UI Action and UI Page combination that makes it easy to add or remove a single Role to one or more Modules at once.  You also have the option to remove all the Roles from the selected Modules.

 

Form view:

find_real_file.png

 

List view:

find_real_file.png    find_real_file.png

 

The UI Page will display in a modal window the list of Modules you've selected and will display ones which will be skipped because of security constraints (i.e. different scope).

 

Select whether you want to "Add" or "Remove" a Module and then select the Role:

 

find_real_file.png

 

find_real_file.png

 

 

Or, select "Remove All":

find_real_file.png

 

Messages will appear showing what was done, or not, to each of the Modules:

 

find_real_file.png

find_real_file.png

 

Attached are XML files for the UI Action, UI Page, UI Messages, Access Control and Access Role records so you can just import them into your instance.  The Access Control records limit access to the UI Page to users with the "admin" role.

 

TIP: import the Access Role record before the Access Control record, otherwise the system may add "snc_internal" to the "Requires role" list.

 

As usual, test it out in your dev instance, or better yet, your personal dev instance first.

 

I've standardized on using UI Messages now for any message visible to users to make it easier to localize the tools.  Requires the "sys_ui_message shared.xml" file attached below to be imported as well.  It contains a number of UI Message records shared by a number of the Developer Tools.  You may have already imported it from another post and may not need to import it again.