What Is a Role

A role is a set of permissions made of:

  • A permission id, corresponding to screens displayed in the Administration Console.

  • A permission, corresponding to authorized actions (write, read, none) for a given permission id.

You can configure permissions in the AdminUI.xml file in <DATADIR>\config\. You can edit this file to:

See Also
Default Roles
Add Permissions to an Existing Role
Create Custom Roles
Assign Roles to a User
Assign Roles to a Group of Users

Example of role and permissions configuration in AdminUI.xml:

<aui:AdminUIConfig identityProvider="ip0" useHttps="false" version="1501155968000" 
xmlns:aui="exa:com.exalead.mercury.mami.adminui.v10" xmlns:config="exa:exa.bee.config">
  <aui:Role name="corpus-manager">
   <aui:Permission id="home" permission="write"/>
   <aui:Permission id="about" permission="write"/>
   <aui:Permission id="collect-connectors" permission="write"/>
   <aui:Permission id="connector-list-widget" permission="write"/>
   <aui:Permission id="collect-connector" permission="write"/>
...
   </aui:Role>
...
</aui:AdminUIConfig>

It displays:

  • A role: <aui:Role name="corpus-manager">

  • Associated to a permission: <aui:Permission id="collect-connectors" permission="write"/>

It means that the users with the role have corpus-manager write permission to the Collect > Connectors page.