Skip to content

Atom 22.1.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 08:41
  • Admin routes may use a role instead: startup no longer requires user_check_permission on an /admin/* route; it requires a permission or a role check (either), so none opens to every logged-in user. Atom's admin routes keep the permission (granted per user); a project may open one to a whole role in config_extend.py, e.g. "user_check_role": {"mode": "token", "roles": [1, 2]} without user_check_permission (keep role 1 so root still gets in). A role suits read-only admin routes; write routes stay per-user ids, or a narrow project route for a whole role (docs/auth-permission.md).