Maintaining security and compliance in Salesforce requires effective user access management. This article will lead you through the process of creating expiration dates for Permission Sets and Permission Set Groups, allowing you to automate access removal while minimizing manual work. Know how this functionality simplifies workflows, guarantees compliance, and improves security procedures.

Why Use Expiration Dates for Permission Sets and Groups?

This section highlights the importance of assigning expiration dates to Permission Sets and Groups. By implementing this feature, organizations can effectively prevent unauthorized access, streamline administrative tasks, and ensure that users only have active permissions that are truly necessary.

What Are Permission Sets and Permission Set Groups?

Permission Sets are useful for granting specific functionalities to users in addition to the permissions provided by their Profile. For instance, if you need only a select group of sales users to have the ability to convert leads, you can create a permission set with the convert lead permission and assign it to those specific users, rather than creating a separate sales profile.

Permission Set Groups bundle multiple permission sets that a user may require. Moreover, with the permission muting feature, you can add or remove individual permissions from a Permission Set Group to ensure that users receive only the permissions relevant to their job roles.

Our Business Use Case:-

How Jon Doe Streamlined Permission Management with Automated Expiration in Salesforce?

Blog 3

Jon Doe, a Salesforce Consultant at HIC Global Solutions, received a request from his management team to assign the Sales Manager Permission Set Group and automatically remove it after a week. Jon wanted to avoid building a flow or spending time searching for other declarative solutions. Below is the solution that we provided:

Steps to Set the Expiration Date for Permission Sets and Permission Set Groups:-

Step 1: Activate Expiration Dates for Permission Set and Permission Set Group Assignments:-

Once the setting for Permission Set and Permission Set Group Assignments with Expiration Dates is enabled, you can configure assignment expiration dates for both permission sets and permission set groups. Assigned users will retain access to all combined permissions until the specified expiration date.

  • Go to Setup.
  • In the Quick Find box, type User Management Settings and select it
  • Enable Permission Set & Permission Set Group Assignments with Expiration Dates.
image 6 1

Note: The next time a System Administrator assigns a Permission Set or Permission Set Group to a user, they will see an option to specify an Expiration Date.

Step 2: Select an Assignment Expiration Option for the Users You Chose:

  1. Go to Setup: Click Setup in Salesforce.
  2. Search for Permission Set Groups: In the Quick Find box, type Permission Set Groups and select it.
  3. Select the Sales Manager Permission Set Group: From the list, click on the Sales Manager permission set group.
  4. Manage Assignment: Click on Manage Assignment.
  5. Add Assignment: On the Current Assignments page, click Add Assignment.
  6. Choose an Expiration Option: Select an expiration option for the users you selected.
  7. Set Expiration Date and Time Zone: To specify an expiration date and time zone, select Specify the expiration date. You can either select a time frame (e.g., 1 Week) or choose Custom Date to set a specific expiration date.
  8. Assign and Complete: After selecting the expiration options, click Assign, then click Done to complete the assignment.
image 7 2

Conclusion:

Setting expiration dates for permission sets and permission set groups in Salesforce is a powerful feature that allows administrators to manage user access better and ensure compliance with company policies. By following the steps outlined above, you can easily assign permissions to users with a predetermined expiration period, automating the removal of access when it is no longer needed. This not only enhances security but also simplifies the management of user permissions. Implementing these practices helps maintain a streamlined workflow, reduces the risk of unauthorized access, and aligns with best practices for user access management.

HIC CTA
Related Articles
Expert Guide On Nominal XIRR Calculation Using LWC in Salesforce

When building financial tools within Salesforce, handling irregular cash flows with precision is a must. Whether you’re developing investment trackers, portfolio performance dashboards, or funding monitors, calculating Nominal XIRR (Extended Internal Rate of Return) becomes essential. In this blog, you’ll learn how to build a Lightning Web Component (LWC) in Salesforce that calculates Nominal XIRR […]

Read More
Beginners Guide to Making Your LWC Component Multilingual

If you’re wondering how to make your LWC component multilingual, you’re already ahead of the curve. Global users expect content in their native language, and Salesforce gives you the tools to deliver exactly that. With Custom Labels and the Translation Workbench, you can easily localize your Lightning Web Components without touching a single line of […]

Read More
Hands-On Guide Building a Drag-and-Drop Form Builder Using Lightning Web Components

Drag-and-drop interfaces are a user experience staple, and when paired with the power of Lightning Web Components (LWC), they unlock dynamic, highly interactive Salesforce components. In this blog post, we’ll walk you through how to build a custom drag-and-drop form builder in LWC. Users can drag form fields like text inputs and dropdowns into a […]

Read More
Please Make Blog Banner How to Create an Agentforce Enabled Scratch Org in Salesforce 100 1

Setting up an Agentforce-enabled scratch org is the most important step for developers who want to experiment with AI features such as Prompt Builder and Einstein GPT. Whether you’re developing the next generation CRM software or experimenting with how generative AI may improve user experience, a scratch org equipped with Agentforce is your playground. Follow […]

Read More
Step-by-Step Guide to Enhance Your LWC Development Workflow with the Logger API

Are you looking to streamline your LWC development workflow but confused about how to do it? Then you are in the right place. The Salesforce Logger API is a powerful tool that helps you monitor, debug, and improve code quality in real time.  This step-by-step guide walks you through how to set it up and […]

Read More
Enhancing Your Salesforce Experience with a Custom Activity Component

In today’s fast-paced business landscape, productivity hinges on streamlined workflows and intuitive interfaces. While Salesforce offers robust activity tracking capabilities, sometimes the standard components fall short of specific organizational needs.  That’s where a Custom Activity Component comes in—designed to tailor your activity management experience, boost user efficiency, and provide deeper insights into customer interactions. In […]

Read More
Our Location worldwide
Indian Flag India
3rd Floor, A-10, Pegasus Tower, Sector 68, Noida, Uttar Pradesh 201301 +91-1203117884
United States of America Flag USA
333 West Brown Deer Road Unit G – 366 Milwaukee WI, USA 53217 +1(262) 310-7818
United Kingdom Flag UK
7 Bell Yard, London, WC2A 2JR +44 20 3239 9428
Canada Canada
HIC Global Solutions INC
43 Lafferty Lane, Richmond Hill, L4C 3N8, CA +1(262) 310-7818