Validating permissions for a Community User
Since Community Users don’t log in to the TargetX CRM directly, you’ll need to take some additional steps before validating permissions for this type of user.
Step 1: Temporarily remove the 'Page Stopper'
- Navigate to Setup and search for Digital Experiences (formerly All Communities).
- Select the Community where you want to validate permissions.
- Select Manage > Administration > Branding.
- Remove TXStandardPageStopper from the Header Field.
- Remove TXStandardPageStopper from the Footer Field.
- Save your changes.
- Run Permission Scanner (see Step 2).
For more information on the TargetX Page Stopper, see Setting up Security for your Community.
Step 2: Login as Community User
- Navigate to Profiles and click on the Name for the Community User profile you want to validate.
- In the "Enabled Visualforce Page Access" section, validate that the following page is listed:
- TX_Permissions.permissionScanner
- In the 'Enabled Apex Class Access" section, validate that the following Apex Class is listed:
- TX_Permissions.permissionChecker
- Log into the Community as a 'Community User' (using the profile you validated in #1).
- 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 <User Name>.
Step 3: Replace the 'Page Stopper'
- Navigate to Setup and search for Digital Experiences (formerly All Communities).
- Select the Community where you want to validate permissions.
- Select Manage > Administration > Branding.
- Paste the following value into the Header field: TXStandardPageStopper
- Paste the following value into the Footer field: TXStandardPageStopper
- Save your changes.