Skip to main content

DEFAULT_GROUP_NAMES

Constant DEFAULT_GROUP_NAMES 

Source
pub const DEFAULT_GROUP_NAMES: [&str; 3];
Expand description

The three structural permission groups every fresh database is seeded with (PR 2.2 / DESIGN_PERMISSIONS.md).

  • administrator — full system access.
  • editor — create / read / update on content models only.
  • viewer — read-only on content models.

These are structural defaults, not demo data. Group names MUST exactly match the --role values accepted by rustio-admin user create so a developer’s role choice and the group their account gets dropped into are the same string. The CLI’s lockstep test (crates/rustio-admin-cli/src/user.rs) fails CI if either side drifts.