GET /api/system/permissions
As of Version | product version 1.0 | component version 1.0 |
---|---|
Request Method | GET |
Response Format | XML/JSON |
Required Permission | available if listed in |
Description | This endpoint is used to retrieve the global permissions file of the yuuvis® system. |
Request Headers | Accept: [application/xml; application/json] |
Request Example | |
Response Example | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <roleSet xmlns="http://optimal-systems.org/ns/dmscloud/roleset/"> <role> <name>ReadDeleteEmail</name> <permission> <action>read</action> <action>delete</action> <condition>system:objectTypeId = 'email:email'</condition> </permission> </role> <role> <name>ReadDocument</name> <permission> <action>read</action> <condition>system:objectTypeId = 'document'</condition> </permission> </role> <role> <name>ReadEmailAndDocument</name> <permission> <action>read</action> <condition>system:objectTypeId in ('email:email', 'document')</condition> </permission> </role> <role> <name>DeleteDocument</name> <permission> <action>delete</action> <condition>system:objectTypeId in ('document')</condition> </permission> </role> <role> <name>AdminRole</name> <permission> <action>read</action> <action>delete</action> </permission> </role> </roleSet> |