12.1 Assigning Permissions Using Roles

Roles are groupings of users that share a particular function within the portal, according to a particular scope. You can grant roles permissions to various functions within portlet applications.

Roles are used to define permissions across their scope: across the portal, across an organization, or across a site. For example, consider a role which grants access to create a Service Management category. A portal role would grant that access across the portal, wherever there was a Service Management portlet.

Roles are scoped by:

  • Portal

  • Organization

  • Site

A site role grants access only within a single site. An organization role grants that access only within an organization. Because roles are used strictly for portal security, they also do not have pages, like sites and organizations.

Administrators can define roles through the Control Panel. Roles are assigned permissions and then are assigned users or user groups. Users, user groups, sites, or organizations can be members of a role.

In the Dashboard, there are two types of roles that you are likely to require:

  • Roles related to portal administration. For example, these roles might have rights to create new sites and maintain their pages.

  • Roles that allow users to perform specific tasks within or for a site.

NOTE:While the following sections cover setting and assigning permissions for a site, these same features and steps apply for organizations.

The following sections cover roles and assigning permissions to them:

12.1.1 Site Roles

When you create a site or organization, three default roles are created:

  • Administrator: super users of their site and can assign site roles to users.

  • Owner: super users of their site and can assign site roles to users.

  • Member: default role assigned to all users who belong to the site or organization.

For information about assigning site users to these default roles, see Assigning Site Roles.

In addition, you might want to create additional roles that grant specific administrative capabilities for the site or allow access to perform an action within the site. For example, you can create a role that can assign users, or a “Journal” role that is in charge of updating journal entries.

Setting up site roles is a three-step process:

Creating Site Roles

Site roles allow you to define permissions for specific functionality that you want to grant to a subset of site members.

To create a site role:

  1. In the Control Panel, click Users > Roles.

  2. Click Add and select Site Role.

  3. Provide a name and description for the role, and then click Save.

    Continue to Granting Portlet Permissions.

Granting Portlet Permissions

After you define a role, the next step is to define portlet permissions for the role.

To grant portlet permissions to a role:

  1. In the Control Panel, click Users > Roles.

  2. Click Actions next to the desired role and select Define Permissions.

    A list of portlets and the permissions that are associated with that role and portlet displays.

  3. Click the desired portlet to define permissions for that portlet type.

  4. Select the desired permissions, and then click Save.

    Continue to Assigning Site Roles.

Assigning Site Roles

At a minimum, assign the Administrator and Owner roles to at least one site member. After you define more specialized site roles, you can assign users to them.

For information about assigning default roles to users, see Section 4.4.1, Default Associations for User Accounts.

To assign site users to a role:

  1. In the Control Panel, click Users > Roles.

  2. Click Actions next to the desired role and then select Assign Members.

  3. On the Users tab, click Available.

  4. Select the users to assign to the role, and then click Update Associations.

12.1.2 Portal Administration Roles

Portal-wide roles are related to portal administration. For example, these roles might have rights to create new sites and maintain their pages.

By default, there are four portal-wide roles:

  • Administrator: has administrative privileges.

  • Power User: is assigned to all users by default. You can give this role certain permissions or disable it altogether.

    If you remove the Power Users role from the default user associations, you will need to modify the permissions on certain portlets.

  • User: is the most basic user.

  • Guest: includes all unauthenticated users.

Assign permissions for portal-wide activities that are in several categories, such as Site, Location, Organization, Password Policy, etc. This allows you to create a role that, for example, can create new sites in the portal. This would allow you to grant users that particular permission without making them overall portal administrators.

NOTE:Portal permissions can only be assigned to roles of Regular type.

For information about assigning default roles to users, see Section 4.4.1, Default Associations for User Accounts.

To create a portal administration role:

  1. In the Control Panel, click Users > Roles.

  2. Click Add, and then select Regular Role.

  3. Specify a name and description for the role, and then click Save.

  4. To define permissions for the role, do the following:

    1. On the Roles page, click Actions next to the role and select Define Permissions.

    2. Click Applications, and then click the portal for which you want to grant permissions.

    3. Select the permissions you want to grant to the role.

    4. To limit the sites for which the role has a permission, click Change, and then click Choose for each site for which you want to grant the permission.

    5. Click Save.

  5. To assign members to the role, do the following:

    1. On the Roles page, click Actions next to the role, and then select Assign Members.

    2. Click Users, User Groups, Communities, or Organizations.

    3. Click Available.

    4. Select the desired members to assign to the role, and then click Update Associations.

12.1.3 Granting Role Permissions for Other Roles

For all roles, you can give permissions to other roles for the maintenance of that role.

To assign permissions to another role:

To grant role permissions for other roles:

  1. In the Control Panel, click Users > Roles.

  2. Click Actions next a role of type Site or Organization, and then select Permissions.

  3. Select the other role permissions to grant to the members of the selected role, and then click Save.