7

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?

5
  • Out of curiosity, what is the reason you're needing to package the Customize Application permission in the first place?
    – Mark Pond
    Commented Apr 25, 2017 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. Commented Apr 25, 2017 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
    Commented Apr 25, 2017 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
    Commented Apr 25, 2017 at 23:39
  • @Mark, that sounds like a neat approach. Will definitely consider. Thanks for the link.
    – Tan
    Commented Apr 26, 2017 at 0:15

1 Answer 1

10

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.

2
  • Thanks for your comment. How do you package system permissions in that case? Does one have to include profiles in the managed package?
    – Tan
    Commented Apr 25, 2017 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
    Commented Apr 25, 2017 at 22:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .