Preview privileges

Warning: EXPERIMENTAL.
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.

Note: If 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

Examples

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?