Permissions

Permissions for resellers created with a reseller plan are specified by the permissions node which is presented by clientPerms type (plesk_client.xsd). The permissions node graphical representation is as follows:

  • The permission node is required. It specifies permission parameters. Data type: PleskPermissionType (plesk_common.xsd).
    • The name node is required. It specifies permission name. Data type: sting.
    • The value node is required. It specifies permission value. Data type: anySimpleType.

      Note: You can specify multiple permission parameters within one permissions node.

The following code represents the permission on creating subscriptions:

<permissions>
   <permission>
      <name>create_domains</name>
      <value>true</value>
   </permission>
</permissions>

 

Note: To set up permissions, you should first retrieve permissions descriptor that contains names of permissions. For details, refer to the Managing Subscriptions > Retrieving Descriptor of Permissions section.

 

Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.