Create a Custom Role
You can create a custom role, using either a blank template or a standard role template, choosing privileges and permissions as needed.
Context
-
If you create a custom role for global purposes, you should include only global privileges and permissions. You can then assign the role to the relevant users.
-
If you create a custom role for space-related purposes, you should include only scoped privileges and permissions. As a second step, you need to create a scoped role based on this custom role to assign users and spaces to the set of privileges included. See Create a Scoped Role to Assign Privileges to Users in Spaces.
-
If you include a scoped privilege in a custom role that you create for global purposes, the privilege is ignored.
-
If you include a global privilege in a custom role that you want to use as a template for a scoped role, the privilege is ignored.
For more details about global and scoped privileges, see Privileges and Permissions.
Create a Custom Role
-
If you create a custom role for global purposes, you should include only global privileges and permissions. You can then assign the role to the relevant users.
-
If you create a custom role for space-related purposes, you should include only scoped privileges and permissions. As a second step, you need to create a scoped role based on this custom role to assign users and spaces to the set of privileges included. See Create a Scoped Role to Assign Privileges to Users in Spaces.
-
In the side navigation area, select (Security) (Roles).
-
Click and select Create a Custom Role.
-
In the Create a New Role wizard, complete the following properties and click Next Step:
Property
Description
Name
Enter a unique name for the role. The name can only contain upper and lower case letters, numbers, and underscores and its maximum length is 20 characters.
Description
[optional] Enter a description, which can be changed at any time. The description can only contain upper and lower case letters, numbers, spaces, and dashes and its maximum length is 155 characters.
License Type
Select SAP Datasphere.
-
In the Role Template step of the wizard, select the template you want to base your role on and click Next Step. You can also start with a blank template.
The role templates are the predefined standard roles associated with the SAP Datasphere license type. If you wish to create a role without extending a predefined standard role, choose the blank template.
The role page that opens displays the privileges and permissions that are included in the role template you chose.
-
If needed, select the permissions for every privilege you want to include in the role, then click Next Step and Save.
The privileges represent an area, app, or tool in SAP Datasphere while the permissions (create, read, update, delete, execute, maintain, share, and manage) represent the actions a user can perform. For more details about global and scoped privileges, see Privileges and Permissions.
-
[optional] If you want to change the role template that your new custom role will be based on, select (Select Template), and choose a role.
-
[optional] To define the custom role as a default role, which will be assigned to all new users when no other role is assigned to them, select (Role Configuration) and select the option Use as Default Role.
-
Save the new custom role.
-
If you've included global privileges in the role, you can now assign users to the role.
-
If you've created the custom role to be used as a template for a scoped role, see Create a Scoped Role to Assign Privileges to Users in Spaces.
-
Assign Users to a Custom Global Role
-
In the side navigation area, select (Security) (Roles).
-
Open the role to which you want to assign users and click [number of] Users.
Alternatively, from the list of users, identify the role and can click the number in the Users column.
The dialog Select Users opens.
-
Select the users and click Save.
Remove Users from a Role
-
In the side navigation area, select (Security) (Roles).
-
Open the role to which you want to assign users and click [number of] Users.
Alternatively, from the list of users, identify the role and can click the number in the Users column.
The dialog Select Users opens.
-
In the Selected Users area of the dialog, click the cross icon for each user that you want to remove from the role, then click Save.
