Permissions

The perms node is presented by the domainPerms complex type (plesk_domain.xsd), and its graphical representation is as follows:

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

Note: You can specify multiple permission parameters in one perms node.

The following code represents permission to access shell:

<permissions>
   <permission>
      <name>manage_sh_access</name>
      <value>100</value>
   </permission>
...
</permissions>

 

Note: To manage preferences, you should first retrieve permissions descriptor, containing names of permissions. For details, refer to the Retrieving Descriptor of Permissions section.

 

Leave your comments on this page

Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.