sfpowerkit icon indicating copy to clipboard operation
sfpowerkit copied to clipboard

User permissions are missing when retrieving a standard profile

Open TomSesselmann opened this issue 1 year ago • 1 comments

Describe the bug Yes, I know you have previously put this issue in the wontfix bucket, but I think that is based on an incorrect assumption. I've commented on the previously closed issue here This is the reason you gave for not fixing the issue.

We did not include user permissions for Standard profiles (Admin, Standard User...) as those permissions are not editable from user interface in Salesforce.

But I don't think that is correct. There are in fact some user permissions that are editable on standard profiles.

  • Is Single Sign-On Enabled
  • View Global Header

That's all I can see in my org at the moment. I don't know if being able to edit these user permissions on standard profiles is a recent change or not.

To Reproduce Steps to reproduce the behavior:

  • sfdx sfpowerkit:source:profile:retrieve -n "Admin"
  • Notice that user permissions are missing from the admin profile.

Expected behavior The full profile is retrieved including user permissions.

Screenshots image image

TomSesselmann avatar Aug 03 '22 00:08 TomSesselmann

@genoud @azlam-abdulsalam

Caitlyn-Mills avatar Aug 31 '22 03:08 Caitlyn-Mills