Step 4: Entitle a Page in the Portal Library

1. In the Portal Resource tree, navigate to Library -> Pages -> My Page.

2. Select the Entitlements tab in the Editor pane.
3. Select the EmployeeRole, and click Add Role.

4. Check the View capability and click Save.
5. Open a browser and go to the URL: http://localhost:7001/sampleportal/appmanager/MyPortal/desktop1. Login as MyInternalUser, using the default password of password.
6. Select the Desktop and Links drop-down menu, and select Desktop2. In both desktops My Page is no longer available.

   Note: If you see My Page, refresh your browser to see the current view.

7. Switch back to Desktop1 and log out.
8. Log back in as MyEmployee. My Page is now visible.

   Note: If you do not see My Page, refresh your browser to see the current view.

9. Switch to Desktop2. Again, My Page is now visible.

   Note: If you do not see My Page, refresh your browser to see the current view.

In step 4 you have entitled a resource in the Portal Library. Entitlements in the library apply to all instances of the resource in portal applications. However, they do not bar you from setting more local policies in the portal application. For a given user, WebLogic Administration Portal first checks at the instance level. If it does not find a grant for a given capability, it then looks to the resource in the library.