diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-31 15:55:43 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-31 15:55:43 +0200 |
| commit | 464dd4266bdc433805010b5dca428f4cb75c2a81 (patch) | |
| tree | 47fdf4f065960d49da015eafdf56cb817dcf9ea4 /config/locales/en.yml | |
| parent | 5f17f421b176d48ef556fb379f59bbb7d284b48e (diff) | |
Group user accounts by role
Replaces the two-way admin/user split with four groups ordered by
capability: administration, Redaktion, editors, alumni. alumni takes
precedence over capability in role_group, so a retired admin appears at the
bottom rather than the top.
Forms now offer the three roles as checkboxes rather than a single admin
checkbox, with a trailing hidden blank so an empty set can be posted, and
user_params permits roles only for admins. Three create buttons prefill the
common combinations.
Diffstat (limited to 'config/locales/en.yml')
| -rw-r--r-- | config/locales/en.yml | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml index c3f515b5..f8b94a00 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml | |||
| @@ -92,6 +92,10 @@ en: | |||
| 92 | restore_target_invalid: "Restore target must be a living node" | 92 | restore_target_invalid: "Restore target must be a living node" |
| 93 | destroy_outside_trash: "Nodes are only destroyed from the Trash" | 93 | destroy_outside_trash: "Nodes are only destroyed from the Trash" |
| 94 | attach_in_trash: "Cannot attach assets to a node in the Trash" | 94 | attach_in_trash: "Cannot attach assets to a node in the Trash" |
| 95 | user: | ||
| 96 | attributes: | ||
| 97 | roles: | ||
| 98 | unknown: "contains unknown roles: %{list}" | ||
| 95 | related_asset: | 99 | related_asset: |
| 96 | attributes: | 100 | attributes: |
| 97 | headline: | 101 | headline: |
| @@ -224,11 +228,28 @@ en: | |||
| 224 | admin: "admin?" | 228 | admin: "admin?" |
| 225 | user: | 229 | user: |
| 226 | confirm_destroy: "Do you really want to destroy user %{login}?" | 230 | confirm_destroy: "Do you really want to destroy user %{login}?" |
| 231 | no_roles: "—" | ||
| 227 | index: | 232 | index: |
| 228 | admins: "Admins" | 233 | title: "User accounts" |
| 229 | create_admin: "Create admin user" | 234 | create_editor: "Create editor account" |
| 230 | users: "Users" | 235 | create_redaktion: "Create Redaktion account" |
| 231 | create_user: "Create user" | 236 | create_admin: "Create admin account" |
| 237 | group_admin: "Administration" | ||
| 238 | group_redaktion: "Redaktion" | ||
| 239 | group_editor: "Editors" | ||
| 240 | group_alumni: "Alumni" | ||
| 241 | group_empty: "— none —" | ||
| 242 | labels: | ||
| 243 | roles: "Roles" | ||
| 244 | roles: | ||
| 245 | admin: "Administration" | ||
| 246 | redaktion: "Redaktion" | ||
| 247 | alumni: "Alumnus" | ||
| 248 | role_hints: | ||
| 249 | admin: "User management and navigation, each behind a fresh confirmation." | ||
| 250 | redaktion: "May publish in the protected sections." | ||
| 251 | alumni: "Can no longer log in; attributions are preserved." | ||
| 252 | no_roles: "no special roles" | ||
| 232 | new: | 253 | new: |
| 233 | title: "Create new user" | 254 | title: "Create new user" |
| 234 | 255 | ||
