Get information about permission levels
Path to servlet:: api/rights/partial
Method: GET
Parameters
- resourceName resourceName the name of the user or user group
- isGroup isGroup if 'true', the parameter 'resourceName' contains the group name, if 'false' it contains the user name.
Answer:
- List of permissions to processes (level 'system.workflow.processes'), to archive documents (level 'system.archive.docclasses'), to archive document sets (level 'system.archive.links')
Note
Permissions from at least the specified levels (including lower levels) are retrieved, but information from higher levels is not retrieved.
Thus, the absence of information about a permission at any level does not mean that there is no permission in the system. Because permissions can be given at a higher level, e.g. 'system' which automatically gives permission to lower levels, but there is no direct information about it in the 'pm_rights' table from which this information is directly retrieved. This is the nature of PlusWorkflow permissions.
example answer
[ { "section": "docclasses", "details":[ "attachments" ] }, { "section": "links", "details":[ "set1" ] }, { "section": "processes", "details":[ "Recruitment and Hiring Process" ] } ]