permissions
Returns the permissions bundle
Returns the permissions bundle, an optimised format for evaluating permissions
get/permissions-bundle
Response
Successfully retrieved the permissions bundle
Bundle required
A map of permission ID to entity lookup map
Example response
{
"legacy.read": {
"group/publisher": [
{
"id": "publisher",
"condition": {
"attribute": "",
"operator": "",
"values": []
}
}
],
"group/viewer": [
{
"id": "viewer",
"entities": [
"group/viewer"
],
"role": "viewer",
"condition": {
"attribute": "collection-id",
"operator": "StringEquals",
"values": [
"collection-765"
]
}
}
]
}
}