This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 89
Profile Reconcile : Ignore User Permissions
azlam-abdulsalam edited this page Aug 14, 2019
·
2 revisions
When you reconcile a retrieved profile against the source folder (in case you are using unlocked packaging/modular development), We do not reconcile the user permissions as we are not aware what user permissions are there in the target org. This will result in error's when you try to push this profile to a scratch org, along with your package. This can become quite tedious, as each time you will have to clean up the profile manually stripping of the incorrect/unavailable user permissions.
From Release 1.15.X, we have a configuration that can help with ignoring user permissions. This particular configuration is to be placed in your sfdx-project.json and the plugin will strip of these permissions during a reconcile
"plugins": {
"sfpowerkit":
{
"ignoredPermissions":[
"ApproveContract",
"EditBillingInfo",
"ManagePackageLicenses",
"ApiUserOnly",
"AutomaticActivityCapture",
"BypassEmailApproval",
"CreateAuditFields",
"CreatePackaging",
"DebugApex",
"InboundMigrationToolsUser",
"IsSsoEnabled",
"ManageSandboxes",
"OutboundMigrationToolsUser",
"Packaging2PromoteVersion",
"PublishPackaging",
"ScheduleJob",
"StdAutomaticActivityCapture",
"UpdateWithInactiveOwner"
]
}
}