To allow users functional access to permission sets only during specified sessions,
create a session-based permission set group. For example, grant access to an application only
during an authenticated session. Then activate the session-based permission set group in a flow or
via the API.
Create a permission set group and make sure to select Session Activation
Required.
Assign permission sets to the permission set group.
If you include a regular permission set in your session-based permission set group, the
permission set group makes the permission set session-based. Users assigned to the permission
set group have access to the permission set for the duration of the session.
Assign the permission set group to users.
Before assigning session-based permission set groups to users, ensure that they can meet
the conditions of the permission sets in the permission set group.
The session-based permission set group isn’t in effect until a session is activated for it. To
activate a session, provide a value for the PermissionSetGroupId field on
the SessionPermSetActivation SOAP API. Or, you can create a flow that activates and deactivates
the session-based permission set group.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.