Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Groups

Available since v1.3.0.

Named groups of users that share a common set of permission grants — an alternative to repeating the same permissions: entry for every member individually. A user assigned to a group inherits all of the group’s grants in addition to any directly-assigned permissions.

groups:
  - name: team-alpha
    description: "Alpha team push access"
    members:
      - alice
      - bob
    grants:
      - provider: github
        match:
          target: SLUG
          value: /myorg/**
          type: GLOB
        grant: PUSH

Group properties

PropertyTypeDefaultDescription
namestringGroup name, shown in the dashboard
descriptionstring""Free-text description
memberslist[]Usernames belonging to this group (must match a users: entry or a DB user)
grantslist[]Permission grants applied to every member — same shape as permissions: entries, minus username
grants[].providerstringProvider name as defined in providers: config
grants[].matchobjectRepository match criteria — same semantics as Permissions
grants[].grantenumPUSHPUSH, REVIEW, PUSH_AND_REVIEW, SELF_CERTIFY, ISSUE, PROPOSE, MERGE, or MAINTAIN — see Grant

Note

Groups defined here are CONFIG-sourced and read-only from the dashboard — editing or deleting a config-sourced group via the UI/REST API is rejected. Groups created through the dashboard instead are DB-sourced and fully editable there. This mirrors how CONFIG-sourced permissions:/rules: entries behave.