feat: add 'agent' API key role (content CRUD + backup) #4

Merged
hzhang merged 1 commits from feat/agent-role into main 2026-05-17 14:10:29 +00:00
Owner
  • ALLOWED_API_KEY_ROLES (+ apikey_cli ALLOWED_ROLES) gain 'agent'.
  • 'agent' added to require_auth on markdown/patch/path create/update/
    delete/move and backup get/load. apikey mint, /backup/convert, logs,
    config, webhook and permission/template settings stay admin-only.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

- ALLOWED_API_KEY_ROLES (+ apikey_cli ALLOWED_ROLES) gain 'agent'. - 'agent' added to require_auth on markdown/patch/path create/update/ delete/move and backup get/load. apikey mint, /backup/convert, logs, config, webhook and permission/template settings stay admin-only. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
hzhang added 1 commit 2026-05-17 14:10:24 +00:00
- ALLOWED_API_KEY_ROLES (+ apikey_cli ALLOWED_ROLES) gain 'agent'.
- 'agent' added to require_auth on markdown/patch/path create/update/
  delete/move and backup get/load. apikey mint, /backup/convert, logs,
  config, webhook and permission/template settings stay admin-only.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
hzhang merged commit bfef232b8f into main 2026-05-17 14:10:29 +00:00
hzhang deleted branch feat/agent-role 2026-05-17 14:10:30 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hzhang/HangmanLab.Backend#4