permission

Check a permission

Changed on

To learn how relationship tuples and the check works, head over to the documentation.

get/relation-tuples/check

Request

  • The document declares no server URL.
  • Auth
    none declared

Query parameters

namespacestring

Namespace of the Relationship

objectstring

Object of the Relationship

relationstring

Relation of the Relationship

subject_idstring

SubjectID of the Relationship

subject_set.namespacestring

Namespace of the Subject Set

subject_set.objectstring

Object of the Subject Set

subject_set.relationstring

Relation of the Subject Set

max-depthinteger

Response

checkPermissionResult

allowedboolean required

whether the relation tuple is allowed

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      api operation id getCheckMirrorStatus removed and replaced with checkPermissionOrError

    • info

      api tag permission added

    • info

      api tag read removed

    • info

      added the new optional query request parameter max-depth

    • info

      added the new optional query request parameter namespace

    • info

      added the new optional query request parameter object

    • info

      added the new optional query request parameter relation

    • info

      added the new optional query request parameter subject_id

    • info

      added the new optional query request parameter subject_set.namespace

    • info

      added the new optional query request parameter subject_set.object

    • info

      added the new optional query request parameter subject_set.relation

    • info

      removed the non-success response with the status

    • info

      added the required property to the response with the status

    • warning

      deleted the query request parameter max-depth

    • warning

      deleted the query request parameter namespace

    • warning

      deleted the query request parameter object

    • warning

      deleted the query request parameter relation

    • warning

      deleted the query request parameter subject_id

    • warning

      deleted the query request parameter subject_set.namespace

    • warning

      deleted the query request parameter subject_set.object

    • warning

      deleted the query request parameter subject_set.relation

    • info

      api operation id getCheck removed and replaced with getCheckMirrorStatus