The hasRights operation checks whether a user has permissions to view, edit, and run workflows.
To check the rights that you have on a workflow, you must have permission to view that workflow. If you have only edit or run permission on a workflow, you cannot view what rights you have on this workflow, and hasRights returns False.
A Web service application can check those rights by calling the hasRights operation. In the following example, hasRights checks whether the user has the right to read the workflow.
hasRights(workflowId, username, password, 'r')
The ID of the workflow for which you are checking a user's rights. |
||||||||||||
|