Previewing as another user | HCL Digital Experience
You can preview changes to your website without logging out and logging on again as another user. This preview capability is used to quickly verify that users with different access levels see only content that they are authorized to see. You can preview changes as a specific user or as an unauthenticated user.
About this task
To use the preview option, proceed as follows:
- Change to Edit mode.
- Open the Preview menu in the action bar.
- Click either As User or As Unauthenticated User. The page is updated according to the user that you impersonate.
- To stop previewing, click Stop Previewing.
You can modify the preview function to tailor preview
behavior in the following scenario:
- User1 creates a project and a page within the project. The new page contains a portlet.
- User1 then attempts to preview the page as User2. In this case, User2 has the permissions to view the page but does not have the permissions to view the portlet that is on the page.
- User1 receives the following message: You are not authorized to use this portlet. This message displays to make it clear that a portlet is rendered here, if the user has the required permissions.
For more information about the access permissions that are required for previewing as another user, see Access control for managed pages.
Procedure
- Log on to the WebSphere® Integrated Solutions Console as an administrator.
- Click .
- Click WP ConfigService, and then click Custom properties.
- Locate and click the property
portlets.unauthorized.visible.project
.If the property is not listed yet, create it new. - Set the value of the property to false to suppress the message. The default value is true.