Skip to content
Back to articles

Permissions · Practical guide · November 7, 2026

Give Temporary Salesforce Access with Permission Set Expiration

Set an end date for a temporary permission assignment, test access before and after expiry, and investigate permissions that remain through other grants.

“Give me access for this week” should include a clear end date. Salesforce lets administrators set expiration dates on permission set and permission set group assignments. This can help end a temporary grant without relying only on a calendar reminder—but the expired assignment is just one part of the user’s total access.

This tutorial uses a fictional sandbox exercise. A test user needs temporary Read access to a custom object named Review Request. After the review ends, that extra object permission should stop applying. Start with non-sensitive test records and a test user whose baseline permissions you understand.

Define the temporary grant

Write down the business task, the requested permission, its approver, and the final day access is needed. In this example, the user may read Review Requests but should not gain Create, Edit, Delete, View All, or Modify All permissions through the temporary set. The test user must also have appropriate field and record access to perform the intended task.

Build a small permission set named Review Request — Temporary Read, or use an existing approved set whose contents match the requirement. Confirm the user’s license supports its permissions. Review everything the set grants before assigning it; an end date does not make an overly broad grant appropriate.

If you are packaging several reusable permissions for a job, read Permission set groups: organize access around the job. Expiration belongs to the user’s assignment, so you can keep the reusable set or group while limiting a particular person’s temporary use.

Assign it with an explicit end date

  1. In Setup, check User Management Settings for Permission Set & Permission Set Group Assignments with Expiration Dates. Enable it if needed and appropriate for your org.
  2. Open Permission Sets and select the approved temporary set. For a group, open Permission Set Groups instead.
  3. Select Manage Assignments → Add Assignment, choose the test user, and continue.
  4. Select Specify the expiration date and choose the required date. Select the time zone deliberately, then assign.
  5. Record the displayed expiration details and assignment result with the approved request.

Salesforce’s assignment interface expires access at 11:59 PM on the selected date in the selected time zone. It is not an arbitrary time-of-day scheduler. If the business needs access revoked at 3 PM, an end-of-day expiration alone does not meet that requirement. Plan an appropriate removal process instead.

Prove the baseline before testing expiration

Before adding the grant, confirm that the sandbox user cannot perform the temporary task. Then add the assignment and confirm that the intended task works. Use the same record and user for both checks. Otherwise, a sharing difference or a changed test record can make the result misleading.

For this exercise, try opening the Review Request object and a known test record. Document whether access is blocked at the object, field, or record layer. A successful object-permission assignment does not by itself guarantee that a particular record becomes visible.

Test after the cutoff

  1. Use a short, planned expiration in a sandbox. Do not move a production user’s end date just to accelerate a test.
  2. After the selected cutoff, start a fresh user session and repeat the exact task. Record the outcome and actual test time.
  3. Review the assignment’s expired state. Salesforce documents that an expired assignment can remain listed even though its permissions no longer apply.
  4. Confirm that ordinary, unrelated work still functions. The goal is to end the temporary capability while preserving the user’s approved baseline.

Keep the before, during, and after results in the change record. If the user still has access, investigate the source before concluding that expiration failed.

Why access can remain after expiration

Permissions from another non-expiring permission set, permission set group, or profile still apply. For example, expiring Temporary Read does not remove Read granted by a separate ongoing assignment. Expiration ends that assignment’s contribution; it is not a deny rule that overrides every other grant.

Review the user’s profile and all relevant sets and groups. Separate object permission from record visibility. For a broader investigation, use the Salesforce Record Visibility Troubleshooting Guide. Do not remove unrelated access simply to make one test fail.

Also check that nobody extended or recreated the assignment. Keep an approval trail for extensions, with a fresh end date and reason. Avoid repeatedly replacing a temporary assignment with a permanent one because its original deadline was inconvenient.

Limits and operational handoff

Salesforce excludes permission sets or groups containing certain access-administration permissions from assignment expiration. Its setup documentation lists Assign Permission Set, Manage Profiles, Manage Users, and Permission Sets. Check the current documented restrictions and your set’s contents rather than assuming every administrative grant can expire.

This feature does not deactivate the user, revoke every other entitlement, or replace an offboarding process. It also does not guarantee that an external system stops its own access when this Salesforce assignment ends. Track those dependencies separately.

For ongoing administration, maintain an owner, approver, business task, end date, and verification result for each temporary grant. Consult Use Salesforce Setup Audit Trail to Trace Admin Changes when reviewing configuration and assignment changes. Review effective access as well as the assignment record: each answers a different question.

Official Salesforce references

Published November 7, 2026. Official references checked on this date. Object, permission set, and user scenarios are fictional. Test in your org before production use.

Browse all articles