Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section explains in detail how the Management Console of a WSO2 product can be used for configuring the permissions granted to a user role. You will also find detailed descriptions on all the types of permissions that can be granted.

Table of Contents

...

Introduction to role-based permissions

The User Management module in WSO2 products enable role-based access. With this functionality, the permissions enabled for a particular role determines what that user can do using the Management Console of a WSO2 product. Permissions can be granted to a role at two levels:

...

You will be able to log in to the Management Console of the product with the Admin user defined in the user-mgt.xml file. You can then create new users and roles and configure permissions for the roles using the Management Console. However, note that you cannot modify the permissions of the Admin role. The possibility of managing users, roles and permissions is granted by the User Management permission. See the documentation on configuring the system administrator for more information.

...

Configuring permissions for a role

To configure the permissions for a role:

  1. Click Users and Roles in the Configure tab of the navigator. All the roles created in the system will be listed in the Roles page as shown below.
  2. Click Permissions to open the permissions navigator for the role as shown below.
     
    Note that there may be other categories of permissions enabled for a WSO2 product, depending on the type of features that are installed in the product. 

  3. You can select the relevant check boxes to enable the required permissions for your role. The descriptions of all the available permissions are explained below.

...

Descriptions of permissions

Let us now go through each of the options available in the permissions navigator to understand how they apply to functions in WSO2 MB.

Table of Contents
minLevel3
 

Log-in permissions

The Login permission defined under Admin permissions allows users to log in to the Management Console of the product. Therefore, this is the primary permission required for using the Management Console.

Super Tenant permissions

The following table describes the permissions at Super Tenant level. These are also referred to as Super Admin permissions.

PermissionDescription of UI menus enabled
Configuration permissions:
 
The Super Admin/Configuration permissions are used to grant permission to the key functions in a product server, which are common to all the tenants. In each WSO2 product, several configuration permissions will be available depending on the type of features that are installed in the product.

- Feature Management permission ensures that a user can control the features installed in the product using the Management Console. That is, the Features option will be enabled under the Configure menu. See the topic on feature management for more information.
- Logging permission enables the possibility to configure server logging from the Management Console. That is, the Logging option will be enabled under the Configure menu. See the topic on logging management for more information.
Management permissions:

The Super Admin/Manage permissions are used for adding new tenants and monitoring them.

- Modify/Tenants permission enables the Add New Tenant option in the Configure menu of the Management Console, which allows users to add new tenants.
- Monitor/Tenants permission enables the View Tenants option in the Configure menu of the Management Console.

See the topic on configuring multiple tenants for more information.

Server Admin permissions:
Selecting the Server Admin permission enables the Shutdown/Restart option in the Main menu of the Management Console.

Tenant-level permissions

The following table describes the permissions at Tenant level. These are also referred to as Admin permissions.

Info

Note that when you select a node in the Permissions navigator, all the subordinate permissions that are listed under the selected node are also automatically enabled.

Configuration permissions

The following table explains the permissions required for performing various configuration tasks in the WSO2 MB.

Permission levelDescription of UI menus enabled
Admin/ConfigureWhen the Admin/Configure permission node is selected, the following menus are enabled in the Management Console:

- Configure
menu/Datasources: Not applicable to MB.
- Configure
menu/Server Roles: Not applicable to MB.

- Additionally, all permissions listed under Configure in the permissions navigator are selected automatically.
Admin/Configure/SecurityWhen the Admin/Configure/Security permission node is selected, the following menus are enabled in the Configure menu of the Management Console:

- Keystores: See the topic on managing keystores for information.
- This permission will also enable the Roles option under Configure/Users and Roles.
See the topic on configuring users, roles and permissions for more information.
- Additionally, all permissions listed under Security in the permissions navigator are selected automatically.
Admin/Configure/Security/Identity Management/User ManagementThis permission enables the possibility to add users from the Management Console. That is, the Users option will be enabled under Configure/Users and Roles.
Admin/Configure/Security/Identity Management/Profile ManagementThis permissions enables the profiles of all the users. You can view the profile in the Configure tab, Users and Roles -> Users link.
Admin/Configure/Security/Identity Management/Password ManagementThis permission enables the Change Password option for the users listed in the User Management/Users and Roles/Users screen, which allows the log in user to change the passwords.
Permissions for managing Queues and Topics

WSO2 Message Broker is primarily used for brokering messages between external applications using Queues and Topics. Explained below are the role-based permissions applicable for working with queues and topics in WSO2 MB.

...

Info
titleSubscribing to Topics/Queues

Explained above are the list of role-based permissions that are required by users in order to create and manage queues/topics from the Management Console.

Note

Note that the permission to create topics/queues also includes the permissions for publishing messages to that topic/queue and consuming the messages published to that topic/queue.

Once queues and topics are created in the Management Console, other users should be able to publish to these topics/queues and consume the messages that are published. Therefore, the creator of the topic/queue should grant permissions to other user roles at the time of creating the topic/queue as shown below.

  • When adding a topic from the Management Console, all the available user roles will be listed as shown below. The topic creator can then select the relevant check box to grant the relevant permissions. See the detailed instruction on creating topics in WSO2 MB.
  • When adding a queue from the Management Console, all the available user roles will be listed as shown below. The queue creator can then select the relevant check box to grant the relevant permissions. See the detailed instruction on creating queues in WSO2 MB.
General management permissions

Listed below are the permissions for some of the general functions applicable to WSO2 MB. 

Permission levelDescription of UI menus enabled
Admin/Manage/AddThis permission enables the Cassandra Keyspaces menu under the Main navigator menu. This option allows users to add and manage keyspaces in a Cassandra cluster.
Anchor
RegistryBrowsing
RegistryBrowsing
Admin/Manage/Resources/Browse
This permission enables the Browse option under the Registry menu in the main navigator. This option allows users to browse the resources stored in the registry by using the Registry tree navigator.
Admin/Manage/SearchThis permission enables the Search option under the Registry sub menu in the Main menu. This option allows users to search for specific resources stored in the registry by filling in the search criteria.
Permissions for monitoring
Permission levelDescription of UI menus enabled
Admin/Monitor/LogsWhen this node is selected, the following menus are enabled in the Monitor tab of the Management Console:

- Monitor menu/System Logs: See the topic on system logs for information on how to use this option.
- Monitor menu/Application Logs: See the topic on application logs for information on how to use this option. 
Admin/Monitor/Metrics

When this node is selected, the following menus are enabled in Monitor tab of the Management Console:

  • Metrics/JVM Metrics: Used for monitoring system statistics common to all products.
  • Metrics/Messaging Metrics: Used for monitoring MB-specific statistics.