You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, it is really greate idea to split profiles like that - not sure why SF hasn't introduced this as a part of source format.
But, currently configuration is hardcoded inside shared/config.json file.
It would be really great to have an option to pass config file via command line, so that we can override the default one.
Since SF is constantly improving on security, new items/tags appear regularly in profiles and permission sets, e.g. flowAccesses. Thus having ability to adjust configs without updating source code and releasing new plugin version, would be really great.
Thanks a lot for the plugin, anyway
The text was updated successfully, but these errors were encountered:
Yes, that's what we are doing currently - in CI job after installing sf plugin, bash command copies our updated file with configs into location where plugin is installed to override default embedded config.
We could have avoid doing such hack if default config file is updated with latest SF changes and new version of plugin is released. I've attached config file that we are currently using (just added customMetadataTypeAccesses, customSettingAccesses, categoryGroupVisibilities and flowAccesses). config.json
Alternative approach would be just to introduce command line flag for split and merge to pass external config file - that's what I'm suggesting here to avoid hacks and re-releases of plugin version in future.
Also, we've noticed some trouble with layoutAssignments mapping in default config. Currently it is using layout as nameTag, but same layout can be mapped to different record types in scope of one profile. Below is a snippet that we have in one of our profiles:
When splitting such profile, only the latest layout assignment is present in generated folder.
We have already tried to use tagName=recordType, but it throws an error when parsing assignments without Recored Types (like the first one in snippet above).
Seems like this may require changes in code base.
Any advice how to handle this would be appreciated.
First of all, it is really greate idea to split profiles like that - not sure why SF hasn't introduced this as a part of source format.
But, currently configuration is hardcoded inside shared/config.json file.
It would be really great to have an option to pass config file via command line, so that we can override the default one.
Since SF is constantly improving on security, new items/tags appear regularly in profiles and permission sets, e.g. flowAccesses. Thus having ability to adjust configs without updating source code and releasing new plugin version, would be really great.
Thanks a lot for the plugin, anyway
The text was updated successfully, but these errors were encountered: