You need to sign in to do that
Don't have an account?
Filikin
Upgrade package permissions
Hi,
I am trying to get my head around what happens to permissions when I upgrade a package.
I install my package, select "Install for all users" and after the package is installed, I customise the user's profiles to give them the level I access they require.
Then I produce a new version of the package, go back to the customer's org and upgrade the package.
If I select "Install for all Users" will this overwrite the customisations I made to the user's profiles and give everyone access to everything?
If so, should I select "Install for Admins Only" when doing the upgrade?
I am trying to get my head around what happens to permissions when I upgrade a package.
I install my package, select "Install for all users" and after the package is installed, I customise the user's profiles to give them the level I access they require.
Then I produce a new version of the package, go back to the customer's org and upgrade the package.
If I select "Install for all Users" will this overwrite the customisations I made to the user's profiles and give everyone access to everything?
If so, should I select "Install for Admins Only" when doing the upgrade?
Profile settings are editable but not upgradeable. After upgrading, update the profile settings for any custom objects included in the package. The developer can make changes to profile settings after releasing them, but those changes will not be included in an upgrade. However, changes made to permission sets are included in the upgrade for any permission sets that were included in the package.So As per my knowledge profiles will not be upgraded.
Thanks
Sandhya
All Answers
By checking the documentation, you can see that permission sets are upgradeable. This means that, as long as your permission set is in your package, it will gain all new permissions specified in your package ("permission sets will be overwritten along with all permissions"). Once you have deleted the permission set from your package, it will remain in the subscriber's org until they (a) uninstall your package, or (b) delete it themselves.
Please refer below links for the same.
https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/packaging_packageable_components.htm
http://salesforce.stackexchange.com/questions/105111/permission-set-part-of-managed-package-are-overwritten-when-we-upgrade-package
https://help.salesforce.com/articleView?id=distribution_perm_sets_profile_settings.htm&language=en_US&type=0
Hope this helps you!
If this helps you, please mark it as solved.
Thanks and Regards
Sandhya
Profile settings are editable but not upgradeable. After upgrading, update the profile settings for any custom objects included in the package. The developer can make changes to profile settings after releasing them, but those changes will not be included in an upgrade. However, changes made to permission sets are included in the upgrade for any permission sets that were included in the package.So As per my knowledge profiles will not be upgraded.
Thanks
Sandhya