I'm trying to package 'Customize Application' system permission in a permission set. However, after installation I see that the permission set does not have the system permissions that were assigned.

Do system permissions not work with permission sets?

  • Out of curiosity, what is the reason you're needing to package the Customize Application permission in the first place? – Mark Pond Apr 25 '17 at 22:32
  • "Customize Application" is a fairly powerful option. If I were an admin, I would not allow a package to be installed if this option were mandatory for my users. – Sebastian Kessel Apr 25 '17 at 23:02
  • @Mark, I want the system admin to be able to delegate admin responsibilities for the managed package to another user. This would be a delegated admin which can configure the app and change custom settings It wont be available for all users. – Tan Apr 25 '17 at 23:31
  • I would recommend you check out the concept of using a class to proxy access to read/write the custom settings records, alleviating the need for the user to have the Customize Application permissions to update your custom settings records. This might alleviate some/all of your issues trying to package this setting. salesforce.stackexchange.com/q/28329/660 – Mark Pond Apr 25 '17 at 23:39
  • @Mark, that sounds like a neat approach. Will definitely consider. Thanks for the link. – Tan Apr 26 '17 at 0:15

As outlined in the documentation, you may only package the following permission set items:

  • Custom object permissions
  • External object permissions
  • Custom field permissions
  • Custom permissions
  • Custom tab visibility settings
  • Apex class access
  • Visualforce page access
  • External data source access

All other types, including system permissions, may not be packaged with permission sets.

| improve this answer | |
  • Thanks for your comment. How do you package system permissions in that case? Does one have to include profiles in the managed package? – Tan Apr 25 '17 at 22:11
  • @Tan You can't package system/user permissions. It's listed in the documentation as to what you can/cannot include. – sfdcfox Apr 25 '17 at 22:24

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.