The package supplies two permission sets:
Portals_Admin) grants access to the runtime and builder Apex classes and Visualforce pages listed in the set. It grants access to the configured package data objects and their fields, access to the package custom setting and custom metadata types, and visibility for the Portals app and its tabs.Portals_Guest) grants the Portal and PortalServiceWorker Visualforce pages and the GlobalRemotingRouter and PortalVerificationEmail Apex classes. It has no object, field, builder, tab, app or administrative permissions.Portals Admin also carries the two Web Portal offline fields, Caching_Strategy__c and Cache_Max_Age_Minutes__c, so administrators can set a portal's caching strategy from the Offline and Caching layout section. See Offline support and caching.
Portals Admin also grants read and edit access to Web_Portal__c.Disable_Self_Registration__c and the Contact support fields Incorrect_Code_Attempts__c, Last_Login_Attempt__c and Last_Login_Status__c. Add these support fields to the relevant Contact layouts. If using custom permission sets, include the equivalent access and PortalVerificationEmail class access for the email workflow. Guests do not need direct access to Portal_Verification_Email__e or Contact credential fields. See Verification emails and code lockout.
From 12.5, Portals Admin also grants the WebPortalBuilder Visualforce page, read and edit access to Contact.Sessions_Revoked_At__c and Web_Event__c.Source_URL__c. Custom builder permission sets need equivalent page access and Page field permissions for the page manager. No new guest permissions are required.
Neither permission set is tied to a permission set license, so it can be assigned to a compatible user without requiring a package-specific Salesforce license.
There are three audiences. Grant each the minimum it needs. The essentials of this also appear in Installation and setup section 6.
The anonymous visitor of a public portal. Keep this profile as bare as possible. The portal does not depend on the guest profile having object access (see the Security hardening checklist).
Assign Portals Guest to the Site guest user. The set grants:
Portal and PortalServiceWorker only. PortalServiceWorker serves the portal's service worker, which handles push notifications and, when enabled, offline caching.GlobalRemotingRouter for runtime requests and PortalVerificationEmail for the packaged verification-email workflow.b3p:lightningOutFlow and b3p:lightningOutLWC implement ltng:allowGuestAccess, so guests can run embedded screen flows and dynamic native LWCs without extra profile work. See Embedded screen flows.Do not grant the guest profile the Contact credential fields, the builder page, or write access to portal objects.
Version 11.2.0 adds private Portal_Passkey__c and Passkey_Challenge__c objects without adding them to the packaged permission sets. Passkey login and management use the existing GlobalRemotingRouter and Portal entry point; the Site guest needs no direct access to these objects or the passkey implementation classes. See Passkey login.
Important. A Salesforce Site only serves Visualforce pages listed under Setup, Sites, (your site), Site Visualforce Pages. That list is the guest profile's page access, and Sites do not honour Visualforce page access granted through a permission set. Assigning Portals Guest is therefore not enough on its own: you must also add
PortalandPortalServiceWorkerto Site Visualforce Pages. IfPortalServiceWorkeris missing, worker registration fails silently, so there is no offline support and guests stop receiving push notifications. See Installation and setup section 6a.
The person who designs pages. This is the sensitive role, because the builder works with your configuration keys, such as the AI provider and Google Fonts keys. Restrict it to admins (see the Security hardening checklist).
Assign Portals Admin to trusted users who configure and operate the product. It grants the configured package Apex classes, Visualforce pages, object and field access, custom metadata and custom setting access, and app and tab visibility.
Keep the builder pages off any profile that should not configure portals.
Staff who manage portal users, send push, or review activity but do not build pages.
Grant read (and edit where they administer users) on Contact including Disabled_Portal_User__c and Incorrect_Code_Attempts__c for lockout recovery, plus read access to Last_Login_Attempt__c and Last_Login_Status__c, and read on Web_Event__c, Push_Message__c, and Log_Entry__c for the audit and delivery trail. For session support, grant read and edit access to Contact.Sessions_Revoked_At__c. With Secure Session Keys enabled, setting it to the current time invalidates that Contact's existing signed sessions on every device. To provide Login As, grant Publisher Apex access and read access to Web Portal, then add the Contact action or component. No builder page is needed.
Assign Portals Admin from Setup under Permission Sets for each trusted administrator. To configure a public Salesforce Site, open the Site guest user's detail page and assign Portals Guest. Keep Portals Admin away from guest and general internal users because it includes sensitive configuration and Contact authentication fields.