Check an explicit subject permission
Check whether a specific subject (given in the body) has a role on a git resource. Used by the authorization proxy to enforce access for the git user it is acting on behalf of. The authenticated caller must carry the read authorization scope; the subject is independent of the caller.
Authorizations
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Headers
Optional external end-user identifier forwarded by the API gateway.
Body
Unique identifier for the user, or "*" to grant/revoke public access
1 - 169Type of git resource
repo Unique identifier for the resource
1 - 79Permission role for the resource (owner > writer > reader)
owner, writer, reader Response
Successfully checked permission
Whether the subject has the specified permission