Controlling access to a portlet

In the Portlet Repository, you can specify access privileges against portlets. Portlet access privileges control who can view the portlet on a page as well as which portlets users can add to pages.

NoteTo control access to a portlet, you must have at least one of the following privileges:

You can also control access to all the portlets in a particular provider by setting the access privileges on that provider's page in the Portlet Repository.

To control access to a portlet:

  1. In the Navigator, click Edit Root Page next to the Portlet Repository page group.

  2. Drill down through the pages to the page that contains the portlet.

  3. Next to the portlet, click Edit.

  4. Click the Access tab.

  5. Select Define Portlet Access Privileges and click Apply.

  6. In the Grantee field, enter the name of the user or group that you want to be able to see this portlet.

    Tip: If you are not sure of the name of the user or group, click Browse Users (for users) or Browse Groups (for groups), and select from the list provided.

  7. In the list, choose a privilege level.

  8. Click Add.

    Note: If you do not specifically assign privileges to a particular user or group after selecting Define Portlet Access Privileges, only those users with at least Access global privileges on All Portlets will be able to see the portlet and add it to pages.

  9. If you change a user or group's portlet privileges, your changes may not take effect immediately if that user, or a member of that group has already accessed the portlet, and the portlet has been cached.

    To make sure that your changes take effect immediately, clear any cache entries for the portlet by clicking Clear Cache.

  10. Click OK to return to the Portlet Repository.

Notes

Related topics

Controlling access to a page