PortalDelegablePermissionSet defines which org-level permission set can be assigned to external users or store shoppers with a particular profile after the Delegable Administration permission is enabled. It controls eligibility for delegated assignment, not the permissions contained in the permission set.
Each component connects one PermissionSet to one Profile. It is not an individual user's permission set assignment, and its presence does not establish that any user has received the referenced permissions.
Key Elements
| Element | What the Element Controls |
|---|---|
permissionSet |
Required string reference to the PermissionSet made available for delegated assignment. That permission set defines the permissions involved. |
profile |
Required string reference to the Profile associated with the delegated assignment eligibility. |
masterLabel |
Required string that supplies the user-visible label. |
isProtected |
Optional, auto-generated boolean. Its value has no effect on this metadata type's behavior; it is not a security or delegation control. |
fullName |
Component identity inherited from the base Metadata type, separate from the user-visible masterLabel. |
Behavior and Constraints
The permissionSet and profile references work as a pair. Changing either reference changes the permission set/profile relationship configured by the component. Changing the referenced permission set's contents is a separate operation on PermissionSet.
Delegated assignment eligibility applies after the Delegable Administration permission is enabled. Deploying this component is not itself a user assignment and does not establish that an external user or shopper has received the permission set.
Do not use isProtected to diagnose or control access. Although its name suggests protection, the field is auto-generated and has no behavioral effect on PortalDelegablePermissionSet.
Deployment and Retrieval
Components use the .portaldelegablepermissionset file suffix and are stored in the portaldelegablepermissionsets folder.
The type supports * as a wildcard member in package.xml, the manifest that selects metadata for deployment or retrieval. Use PortalDelegablePermissionSet as the manifest type name. See Deploying and Retrieving Metadata with the Zip File for manifest handling.
Deployment scope depends on the actual values of permissionSet and profile and whether those referenced components exist in the destination org. Include the referenced components when needed; the relationship does not require every profile or permission set from the source org.
The example manifest includes wildcard entries for PortalDelegablePermissionSet, Profile, and PermissionSet. That example is not a requirement to deploy or retrieve all three types in full.
Relationships
The two outgoing references define assignment eligibility. PermissionSet supplies the permissions, while Profile identifies the profile associated with that eligibility. Neither reference represents an assignment to an individual user.
References
-
PermissionSet:permissionSet -
Profile:profile
Common Questions
Does deploying PortalDelegablePermissionSet assign a permission set to users?
No. It configures eligibility for delegated assignment for the referenced permission set/profile pair. It does not represent an individual user's assignment.
Do I need to deploy every Profile and PermissionSet with PortalDelegablePermissionSet?
No. Scope the dependencies to the components named by profile and permissionSet, taking into account whether those components already exist in the destination org.
Does isProtected prevent delegated assignment?
No. isProtected is auto-generated and has no effect on this type's behavior. It is not a security or delegation setting.
Can I retrieve PortalDelegablePermissionSet with a wildcard?
Yes. The type supports * in package.xml. Its component files use the .portaldelegablepermissionset suffix in the portaldelegablepermissionsets folder.