Skip to main content

Is there any way to create one custom permission set and i need to give all our namespace object permissions and field permissions to the permission set which i have created before.

2 个回答
  1. 2023年9月4日 04:13

    If you need to assign permission set to user you can do it in code: create PermissionSetAssignment records.

     

    https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_permissionsetassignment.htm

     

    Note that usually the relevant profiles receive permissions to the package components during installation, where we can choose which profiles should have access.

0/9000