Previewing privileges
The {privilegesFilter} parameter is used to limit the amount of privileges that are evaluated.
Filter privileges map
Each privilege is assigned a value that can be applied when filtering for a preview of privileges.
Privilege | Value |
---|---|
Create | 1 |
Read | 2 |
Update | 4 |
Delete | 8 |
Export | 16 |
Publish | 32 |
Change owner | 64 |
Change role | 128 |
Export data | 256 |
Offline access | 512 |
Distribute | 1024 |
Duplicate | 2048 |
Approve | 4096 |
If you want to preview a combination of privileges, you need to calculate the sum of the privilege values. For example, if you only want to preview create, read, and update privileges, the {privilegesFilter} value would be 7.