Preview privileges
Warning noteEXPERIMENTAL.
This API is under development. Do not rely on it. It may change or be removed in future versions.
This API is under development. Do not rely on it. It may change or be removed in future versions.
Method
POST
Path
/qrs/[entitytype]/previewprivileges?privilegesFilter={privilegesFilter}
Description
Preview the user privileges for the specified entity type. Use the optional filter to limit the amount of privileges that are evaluated.
Body
Object that should be evaluated.
Information noteIf the owner of the object is not supplied in the posted object then the caller will be set as owner when performing the evaluation.
Here is an example of the body for entity type app:
{ "name": "Test app" }
Return value
A preview of the user privileges granted for the given object. For example:
[ "create", "read", "update", "delete", "publish", "exportdata", "offlineaccess", "duplicate" ]
Optional parameters
- {privilegesFilter}: See Previewing privileges.