Permissions Granted to Roles
The permissions node is presented by the RolePermissions complex type (
role.xsd), and its graphical representation is as follows:
- The permission node is required. It specifies parameters of a permission. Data type: PleskPermissionType (
- 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>applicationsManagement</name> <value>true</value> </permission> ... </permissions>
Note: To manage preferences, you should first retrieve permissions descriptor, containing names of permissions. For details, refer to the Retrieving Permission Descriptors 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.