This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Creating a User Role

Roles contain permission for users to manage the Gadget Server. You can create different roles with various combinations of permission and assign them to a user or a group of users. See more information in Users and Roles.

Follow the instructions below to create a user role.

1. Log on to the Gadget Server Management Console.

 2. Click the "Configure" menu and select "Users and Roles."

3. In the "User Management" page, click the "Roles" link.

Note:
The "Roles" link is only visible to users with "Admin" permissions. It is used to add, modify or delete roles.

4. In the "Roles" page, click on "Add New Role."

5. Enter the name for the role and click "Next." You can also click "Finish," in this case the new roles will be created with default permissions (none) and no assigned users.

6. Select the permission you would like to add to your role and click "Next."

7. Select the users that will be assigned to the role. You can conduct a search by name, or view all users by entering "*" into the search field.

8. Click on the "Finish" button once user is selected.

9. The new role is added to the list.

When Adding Roles to External User Stores

  • Some external user stores like LDAP do not allow you to create empty roles. In that case, selecting users who belong to a role is mandatory.
  • If you connect to an external user store (like LDAP) in read only mode, you can read existing roles from it but you can not edit/delete the roles. In this case, you can still create new roles which are editable and can be managed internally.
  • If you connect to an external user store in read/write mode, you can edit the roles in the external user store as well.