3

When we upgrade managed package on any org then what happens with the existing permission which are part of package:

  • Permission sets will be overwritten along with all permissions
  • Earlier permission set will be removed and new will be created

Please suggest what happens in this case.

2 Answers 2

4

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've 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.

2
  • If i remove some permissions from my permission set then those will be remvoed r=from subscriber's org when package is upgraded ? Jan 12, 2016 at 21:12
  • @PraveshMehta Yes, the permission set will perfectly reflect what your package defines for permissions, including any permissions removed or added since the last installed version.
    – sfdcfox
    Jan 12, 2016 at 21:14
0

Q. What happens to already existing permission set when we upgrade the manage package in our org? A. 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").

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.