6

I just came across the below 2 scenario regarding the Salesforce Classic & Lightning experience Enable/Disable for a user via Profile and Permission Set once the Lightning Feature is enabled.

enter image description here

Scenario 1) Enabled 'Lightning Experience User' flag in Custom profile Level and disabled the same 'Lightning Experience User' flag in Permission Set assigned to particular user.

Scenario 2) This is the vice-versa of above scenario, Disabled 'Lightning Experience User' flag in Custom profile Level and Enabled the same 'Lightning Experience User' flag in Permission Set assigned to particular user.

In both case I got the same results as the user able to get the switch to/back option from lightning/Classic Experience.

So Is this means that there is "No" Order or Sequence in which Permission Set Assignment of an Option/Feature will override the same option/Feature in Profile. Or Vice versa.

  • Scenario 1 takeaway - If a feature is enabled in profile Level it will be available for all users under it even though if a specific user disabled it via Permission set for him explicitly.
  • Scenario 2 takeaway - If a feature is disabled in profile Level it won't be available for all users under it except the specific user who explicitly enable it via Permission set.

Can you please share some thoughts on this especially on Scenario 1 and its outcome?

6

The Rule of thumb is permission set extend the access of profile and do not restrict.

1.In first scenario since profile already has access which means permission set cannot disable as permission sets are meant to extend the behaviour

2.Second case its obvious .

If you want to restrict the behaviour for a user ,then disable at profile and do not assign any permission set that provides access to the lightning experience while assign permission set to users needing the functionality

  • 1
    Thx for the details.. That clear the doubt for me.. But jst need to reaffirm this, I have one more question on this. Since Permission set contains the same set of Permissions & settings similar in Profile, the above mentioned scenarios & answer/rule will be applied in all cases & not just in Lightning Experience User flag, Is it? When Profiles & Permission Set used together, Permission Set can extend the access of profile & not restrict. – Robert Thomas Jul 13 '16 at 4:06
  • 1
    That's correct .It's general rule with permission sets .It cannot restrict and it extends access – Mohith Shrivastava Jul 13 '16 at 4:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.