Admin panel: users and roles #27

Closed
opened 2026-10-08 20:41:21 +00:00 by anas · 0 comments
Owner

Admin-only area, after accounts (#18).

  • Users: list and search; reset a user's password on their request (no email server yet); disable/enable; delete with their data.
  • Permissions (IAM) (owner direction, 2026-10-08): admins create moderators and grant them scoped permissions:
    • scope: all poets, chosen poets, or chosen books/works of a poet;
    • content types: poets, books/categories, works, dictionary entries;
    • actions: create, edit, delete, arrange (manage);
    • level: L2 moderator (junior) or L1 moderator (senior); admins publish.
      Grants can be changed or revoked at any time; a moderator sees only what they are granted.
  • Audit log of admin and moderator actions (who did what, when).
  • First admin created from the server (CLI/env), not through public sign-up.

The permission model itself (levels, grants, checks) is built in #29; the approval pipeline that uses it is #31 (part of #20).

Admin-only area, after accounts (#18). - Users: list and search; reset a user's password on their request (no email server yet); disable/enable; delete with their data. - **Permissions (IAM)** (owner direction, 2026-10-08): admins create moderators and grant them scoped permissions: - scope: all poets, chosen poets, or chosen books/works of a poet; - content types: poets, books/categories, works, dictionary entries; - actions: create, edit, delete, arrange (manage); - level: L2 moderator (junior) or L1 moderator (senior); admins publish. Grants can be changed or revoked at any time; a moderator sees only what they are granted. - Audit log of admin and moderator actions (who did what, when). - First admin created from the server (CLI/env), not through public sign-up. The permission model itself (levels, grants, checks) is built in #29; the approval pipeline that uses it is #31 (part of #20).
anas added this to the Phase 5: Community milestone 2026-10-08 20:41:21 +00:00
anas modified the milestone from Phase 5: Community to Phase 3: Accounts, admin panel and personal library 2026-10-08 20:49:43 +00:00
anas closed this issue 2026-10-08 21:10:05 +00:00
Sign in to join this conversation.
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: anas/divan#27
No description provided.