Validating permissions for a Site User
Since Site Users don’t log in, you’ll need to take some additional steps before validating permissions for this type of user.
Note: If the Site Permissions you are validating is for a Community (i.e., Online Application or Portal) - you will need to remove the Page Stopper temporarily, complete the steps below, and then ADD the Page Stopper back. Please see steps 1 and 3 in the article Validating permissions for a Community User.
- Navigate to Setup and search for Sites.
- Click the Site Label for the Site you want to validate.
- Select Public Access Settings.
- In the Visualforce Page Access section, validate that the following page is listed:
- TX_Permissions.permissionScanner
- In the Apex Class Access section, validate that the following Apex Class is listed:
- TX_Permissions.permissionChecker
Note: If the Apex Class above is not listed, you can proceed to the next step.
- Navigate back to your Site and copy the Site URL into an incognito or private window.
- Edit the URL by removing the homepage and adding the following at the end:
- TX_permissions__permissionScanner
For example:
https://targetxdemo-1234.force.com/OnlineApp/TargetX_App__OnlineAppHome
Would change to:
https://targetxdemo-1234.force.com/OnlineApp/TX_permissions__permissionScanner
- Select the Enter key.
- Select the Product/Feature and the Version.
- Select Validate Permissions for <Site Name> Site Guest User.