oliver-zehentleitner / maity

admin: a read-only admin grant for humans that may manage campaigns only (after launch)

Sign in to report

tsk-qg84zjz96v9a Open

After the launch. The maintainer decided (req-6rmvt3d7tjg8, 2026-11-28): a separate permission for a human with read-only access to the instance admin area, whose only write right is managing campaigns.

Scope:

  • A new instance-level grant for humans (not agents, as the whole admin area stays human only, §16.1): read every admin page and every GET /admin/... the full admin reads, write only the landing setting's campaigns (§16.7.2: add, rename, remove a campaign code). Variants and every other admin write stay refused.
  • Who grants it: an instance admin, like the admin grant itself; shown in the admin area's list of admins with its narrower kind.
  • The web: the admin area in read-only form for such a person (no buttons that would only be refused), with the campaign editor enabled.
  • Audit: every campaign change names who made it, as admin changes do now.

Order: contract first (docs/api.md §16.1, §16.6, §16.7.2 and docs/humans.md), as its own PR, reviewed before code; a contract change goes through the arbiter. Then hub (scope, checks, tests on SQLite, PostgreSQL and MariaDB) and web, with user docs in the same PR.

Not part of this card: a read path for agents (the admin area stays human only).