Skip to main content

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-446655440000
    sharingTagNamestringrequired

    Sharing tag name

    Example: manga
    sources object[]required

    Sources of this grant

  • Array [
  • groupIdstring,null<uuid>nullable

    Group ID (only present for group sources)

    Example: 550e8400-e29b-41d4-a716-446655440000
    groupNamestring | nullnullable

    Group name (only present for group sources)

    Example: Manga Readers
    kindstringrequired

    Source kind: "user" or "group"

    Example: group
  • ]
  • ]
  • userIdstring<uuid>required

    User ID

    Example: 550e8400-e29b-41d4-a716-446655440000
    EffectiveGrantsResponse
    {
    "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"
    }