Day 7 : Manage your Permissions Sets with the new “Assignment Expiration” feature on Permission Sets and Permission Set Groups

By

2 minutes de lecture

“Hey ! Can you give me the rights for modifying accounts for the week ?”. “I just want to be able to customize my lightning pages for a quick fix today”.

I’m probably sure you all encountered this type of speech. 

When someone want a right in Salesforce, just for the day, or the week and you give them a permission set (or a permission set group), you already knew that you will forget to remove it after their actions ?

 

What’s new today?

This time is over ! Salesforce brings us a new feature in the Summer’21 that allows admins to set an expiration date on a permission set assigment !

To do that, just make sure that the feature is enabled on your org by going through the Setup -> User Management Settings, and check “Permission Set Group Assignments with Expiration Dates (Beta)”

When activated, when you go on a permission sets, you’ll be able to see a new button called “Manage Assignment Expiration” (picture below)

On click, you can see a list of the current people that are affecting to this “Assignment Expiration”, and you can add others by clicking on “New”. Then, you can select a user and click “Next”

On the next screen, you can specify the expiration date by selecting an already defined date or create your own custom date.

When completed, click on the “Assign” button. And voila ! If the assignment is successful, you’ll see a status of “Success.” (picture below)

I Hope you had a good read!

If you haven’t reed it yet, comme have look on Loïc’s article. Come back tomorrow for a new article. And if you don’t want to wait, you can go to https://texei.com/blog/ to see more content. Follow us on LinkedIn here and on Twitter here!

Read more posts

Enforce code standards with PMD

Developers working on a project usually set coding rules to have a standardized codebase. It is an important piece of the code maintainability, and it can be very easy …
March 2023
Advices
Scratch orgs

Uncovering Salesforce Settings: A Step-by-Step Guide for Scratch Orgs

Today, it’s pretty easy to build your Scratch Org definition file when you know what Settings you want to activate, as they are mapped with the same setting names …
February 2023
Advices
Business Analyst

Core qualities of a Business Analyst?

A common definition we are used to hear is that being a Business Analyst means to have a combination of both hard skills and soft skills. What does a …
June 2022
Advices
Image d'illustration d'une employée travaillant sur un ordinateur portable

Process builder and workflow make way to Flows (½)

Overview “If you can do it with a Workflow, then do it with a Process Builder, because everything a Workflow does, a Process Builder does it better”. If you …
March 2022
Advices

Day 22 : Salesforce new “Migrate To Flow tool” in Spring 22

As most of you already know, the workflow rules and process builders are planned to be retired in 2023 (no precise date defined so far). Today, I’m going to …
December 2021
Advices

Day 18 : Fake callout responses for test classes !

Hello everybody ! Today let’s talk about Apex tests classes in Salesforce. Everyone loves a good test class, and Salesforce makes it official by requiring to have a minimum …
December 2021
Advices