Previous Page | Next Page

Adding Content to the Portal

Hiding Portlets from Users


Overview of Hiding Portlets from Users

After you have created and deployed a portlet, you can make that portlet unavailable to users temporarily while you continue development or make changes to the portlet. You can make a portlet unavailable in order to ensure that users do not access the portlet while you are working on it.

The simplest way to make a portlet unavailable to users is to apply metadata authorization controls in order to hide the portlet. To hide a portlet, use SAS Management Console to deny users ReadMetadata permission on the portlet's template. This method effectively hides all instances of the portlet that might have been added to users' portal views. This method is useful for hiding two types of portlets:


Associating the Portlet with a Group

It is recommended that you associate the portlet with a group before denying access to the portlet. It is much easier to set permissions for a group than it is to set permissions for a large number of individual users.

Here are some key points related to working with groups:


Hide a Portlet

To deny ReadMetadata permissions for a portlet template, follow these steps:

  1. Log on to SAS Management Console as the SAS Administrator.

  2. Navigate to the portlet template in the following location in metadata: Environment Management [arrow] Authorization Manager [arrow] Resource Management  [arrow] By Type [arrow] Prototype

  3. Select the template for the portlet that you want to hide.

  4. From the main menu, select File [arrow] Properties.

  5. In the Properties dialog box, select the Authorization tab.

  6. In the Names list box, select the group or users who should be denied access. If a particular user or group is not listed, click Add and add the user or group. When you return to the Authorization tab, make sure that the appropriate user or group is selected in the Users and Groups list box.

  7. To modify the permissions for the selected user or group, in the permissions list row for the ReadMetadata permission, select the Deny check box.

  8. When you are finished, click OK.

When members of the group log on to the portal, they will not see any portlet that was generated from the portlet template. All instances of the portlet are hidden from any user or group that is denied ReadMetadata permission on the portlet's template.

To enable the portlet again when you are finished with development, repeat these steps, but grant ReadMetadata permission to the group or users.

The following display of the Authorization tab shows the users and groups who have permissions for a portlet template.

[untitled graphic]

Previous Page | Next Page | Top of Page