Skip to content

Roles and permissions

Every member of a workspace has one role. Roles are enforced on the server for every request, not only hidden in the console, so a role limit holds even for someone calling the API directly. Your workspace and role come from your membership; nothing the browser claims about them is trusted.

The person who installs the GitHub App becomes the workspace Owner.

Role Intended for
Owner Whoever runs the workspace. Can do everything.
Admin Manages members and policy, and approves any change through the approval override.
Developer Sees changes and can merge an approved one. Cannot approve.
Auditor Read-only access to changes, with audit log read and export.
Permission Owner Admin Developer Auditor
View changes Yes Yes Yes Yes
Merge a change Yes Yes Yes
Authorize a lower-risk change Yes Yes
Authorize a high-risk change Yes
Approval override Yes Yes
Edit governance policy Yes Yes
View and manage members Yes Yes
Read the audit log Yes Yes Yes
Export the audit log Yes Yes

A change with a risk score of 60 or higher counts as high risk and needs the authorize a high-risk change permission. A change with no score (a direct commit that was not evaluated, or a change proposed in the console) is treated as high risk too, since nothing says it is not. Other changes need authorize a lower-risk change. The approval override stands in for either.

Merging from the console works only for a change that is approved (by a person, or automatically because its check passed) and that the risk gate lets through: scored, and below 80. Anything else is merged on GitHub, after an approval if it needs one. Merging always needs write access to the repository on GitHub too.

The identity recorded on an approval is always the signed-in person. The request body cannot name someone else, so the audit log shows who actually acted.

An approval records whether the person approving also wrote the change. If the approver’s GitHub account is the author of the pull request, the change page says “self-approved: the author of this change” and the audit entries for the approval say so too, so the log never reads as an independent review when it was not.

  • For a one-person workspace this is the only possible flow, and it is fine. Nothing is blocked; it is just recorded.
  • It is a plain fact, not an error. An approval by someone other than the author carries no such note.
  • It never guesses: when the author is not known, or is a bot, the approval is not marked as self-approved.
  • “The author” includes anyone who wrote commits in the pull request, not only the person who opened it. If you pushed a commit to a colleague’s pull request, approving it is recorded as self-approved too (“wrote commits in this change”), and it counts the same way under the independent-approver rule.
  • In the audit log the entry carries a plain self-approved tag, and the CSV export has a column for it, so a review of how many approvals were independent is a filter, not a read-through.

A repository can require that somebody other than the author approves. Add this to its .groundzero.yml:

require_independent_approver: true

With it on, an author who tries to approve their own change is refused with a clear message, as long as another member could approve it (an active member of the workspace, other than the author, with the permission that change needs or the approval override). In a workspace where nobody else can approve, the author is not locked out and the approval is recorded as self-approved. A member who holds the approval override can still approve their own change, and that approval is recorded as an override.

The approval override permission lets its holder approve any change, whatever its risk score and whether or not it has one, and approve their own change in a repository that requires an independent approver. Owners and admins hold it by default; an owner can remove it from an admin, or give it to another member, like any other permission.

An approval that needed the override is never hidden:

  • The change page and the approval show that it was an override, and which rule it set aside.
  • The audit log has its own approval override entry, besides the approval itself.
  • The GitHub check reads “PASSED (Admin override by …)” and says what was overridden.

An approval the holder could have made anyway (a lower-risk change, or someone else’s change) is recorded as an ordinary approval.