MACGUARD · DOCUMENTATION
Español

Private panel

The review service: roles, authentication and guarantees.

Roles

RoleComes fromMay
VIEWERExplicit grant by an ADMIN.Read candidates, content, decisions and statistics.
REVIEWERGitHub write or maintain permission on the repository.Everything a VIEWER may, plus approve, reject, mark under review, request retest and read the audit trail.
ADMINGitHub admin permission on the repository.Everything, plus members and audit-chain verification.

Reading a public repository grants nothing. The role is recomputed from GitHub on every protected request (60 s cache); if GitHub cannot be asked for more than 10 minutes access is denied. Nobody can change their own role.

Guarantees

LIMIT The code and tests exist in admin/worker/. It is not deployed: a person with Cloudflare (Workers and D1) credentials must create it and a GitHub OAuth app must be registered; the steps are in docs/OPERATIONS.md. Confirm with the OAuth app type that GET /repos/{repo} returns permissions before trusting roles.