Changelog
DevBlog project brief 2026-08

Permission groups · presets and custom capability sets

Describe capability as “group + permission codes” instead of hard-coding role names. Ops can add a comments-only group without a new product.

Added

Highlights

  • /admin/roles: preset plus custom groups, bound user count, system-group flag
  • Create / edit: name, notes, multi-select codes (site domain / project domain, grouped by module, with select-all on headings)
  • Preset summary:
  • super_admin: all capabilities; permission set read-only, not deletable
  • site_admin: site config, users/groups, all-project scope, reindex/comments, and similar
  • content_editor: all-project content, reindex, comments, document tree; no site settings or user admin
  • project_member: only member-table projects plus matching content rights; no full rebuild or site settings
  • APIs for list, create, get, update, and delete groups

Details

  • Saves apply on the next request (ACL cache drops)
  • Custom groups (is_system=0) cannot be deleted while users are still bound
  • The checklist matches the in-code permission catalog so strings do not drift

Notes

  • Needs roles.read / roles.write; without them the menu is gone and the API is 403
  • Handlers branch on permission codes, not role names
Views (0)

Comments

No comments yet