Skip to content
GitmoapAPIBeta
Schema

PermissionInfo

One permission in the catalogue.

Shape

  • applies_atPermissionAppliesAtscopegrouprepositoryrootWhere a grant carrying a permission has any effect.
  • keystringThe permission's key, {area}.{verb} — for example code.push.
  • lowest_builtin_roleAccessLevelguestreporterdevelopermaintainerownerThe lowest built-in role that holds this permission. Every higher built-in role holds it as well.
  • public_readablebooleanWhether a Public or Internal group or repository lets people read this without being given access.
  • requiresarray of stringThe permissions this one is meaningless without. A role that holds it holds these too.
  • tierPermissionTierstandardsensitivereservedHow dangerous granting a permission is, which decides whether a custom role may carry it.

Example

Synthesized example
{
"applies_at": "scope",
"key": "key-ca2c",
"lowest_builtin_role": "guest",
"public_readable": false,
"requires": [
"requires-7992"
],
"tier": "standard"
}

Graph

Used inside
Contains

No named schema inside.

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.