Convert Profile to Permissionset and remove rights from Profile - Profile still contains all rights
Closed this issue · 4 comments
stoevie commented
I want to create an minimized Admin profile and put all field and object permissions in a permissionset.
After I clone the Admin profile (SystemAdminMinimum), pull the cloned profile into VS code, run sfdx shane:profile:convert -p SystemAdminMinimum -n PrfMinimumAdmin -e and push the minimized profile back to my scratch org, the profile still contains all field and object permissions on all objects. Am I doing something wrong?
mshanemc commented
- does the profile still have all the perms in local source?
- if you push to a new scratch org, does the profile still have all the perms?
bwong70 commented
If the profile has "Modify All Data" and/or "View All Data", the object
permissions are automatically injected so you must remove both of these
user permissions first.
…On Tue, Aug 13, 2019 at 11:33 AM Shane McLaughlin ***@***.***> wrote:
1. does the profile still have all the perms in local source?
2. if you push to a new scratch org, does the profile still have all
the perms?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#50?email_source=notifications&email_token=AAUHZAGGRYKGWOC5YACOGWDQEL5AZA5CNFSM4IHTC3IKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4GSJNY#issuecomment-520955063>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAUHZAEN4253U3V3GE7T4UTQEL5AZANCNFSM4IHTC3IA>
.
mshanemc commented