EffectiveGrantsResponse
Effective grants response for a user (debug endpoint)
grants object[]required
Effective grants with source attribution
Array [
accessModeAccessMode (string)required
Access mode: allow or deny
Possible values: [allow, deny]
sharingTagIdstring<uuid>required
Sharing tag ID
Example:
550e8400-e29b-41d4-a716-446655440000sharingTagNamestringrequired
Sharing tag name
Example:
mangasources object[]required
Sources of this grant
Array [
groupIdstring,null<uuid>nullable
Group ID (only present for group sources)
Example:
550e8400-e29b-41d4-a716-446655440000groupNamestring | nullnullable
Group name (only present for group sources)
Example:
Manga Readerskindstringrequired
Source kind: "user" or "group"
Example:
group]
]
userIdstring<uuid>required
User ID
Example:
550e8400-e29b-41d4-a716-446655440000EffectiveGrantsResponse
{
"grants": [
{
"accessMode": "allow",
"sharingTagId": "550e8400-e29b-41d4-a716-446655440000",
"sharingTagName": "manga",
"sources": [
{
"groupId": "550e8400-e29b-41d4-a716-446655440000",
"groupName": "Manga Readers",
"kind": "group"
}
]
}
],
"userId": "550e8400-e29b-41d4-a716-446655440000"
}