Roles are sets of permissions to access objects. The permissions assigned to a role define what a user with that role can do in the secured system. Each role can have multiple permissions assigned to it. Examples of permissions are create, update, administration, security, and management. You can create a new role, or you can create a role from an existing role. Roles span resources.
Creating new roles
Select Manage | Users/Roles.
Select Roles. Mobile Web Studio has these default roles—PortalAdmin, PortalGuest, PortalUser, StudioAdmin, everybody, manager, and superuser, as described in Table 6-2.
Select New to create a new role.
When the Role Editor window displays, complete the required fields.
Role name – enter the role name, such as StudioDeveloper.
Description – optionally enter a description for the role.
Under Object, select Portlets. A list of operations displays in the Available Operations column.
Select Add All to move all operations into the Assigned Operations column. You could also select specific operations.
Select Save, and click OK to confirm. The role displays in the list of roles, and can be selected when you set up a user account.
Creating a role from an existing role
You can create a new role from an existing role, and change its properties.
Select Manage | Users/Roles.
Select Roles.
Select an existing role to use as your source. For example, select PortalUser, and select Edit.
Mobile Web Studio has these default roles—PortalAdmin, PortalGuest, PortalUser, StudioAdmin, everybody, manager, and superuser. See Table 6-2 for information about the default roles. You can also use a role you created as a source role.
When the Role Editor window displays, click Save As.
In the Save Role As window, type a new role name, such as PortalTrainee. The new role displays in Mobile Web Studio.
Select the new role, and select Edit.
When the Role Editor window displays, complete the required fields
Role name – make sure the new role displays; in this case, PortalTrainee.
Description – update the description for the role.
Select Edit Details. Security details display.
Under Object, select an object. A list of operations displays in the Available Operations column.
Select one or more operations. You can select Add All to move all operations into the Assigned Operations column.
Select Save, and click OK to confirm. The role displays in the list of roles, and can be selected when you set up a user account.
Copyright © 2005. Sybase Inc. All rights reserved. |