Files
summercms/modules/cabana/backendscreens/controllers/users/config_list.yaml
Jakub Zych 88401737c9 feat(19.6.1-01): administrator form with server-side privilege rules
- create and edit administrators: password (min 4, max 72 bytes, bcrypt
  at admin.password.bcrypt_cost), role picker, radio permission overrides,
  superuser switch; no mail on create
- superusers hidden from non-superusers in list, lookups and schemas;
  is_superuser projected to superusers so an untouched save keeps it
- save-path rules: superuser-only switch, role and permission ceilings,
  no outranking, no own role/flag/overrides/password change, last active
  superuser not demoted (advisory lock + count in the write tx)
- password set for another admin bumps tokens_valid_after
- role, superuser, activation and last sign-in list filters
2026-10-22 11:08:12 +02:00

17 lines
422 B
YAML

list: ~/plugins/summercms/cabana/models/user/columns.yaml
modelClass: Backend\Models\User
title: backend::lang.user.list_title
recordUrl: summercms/cabana/users/preview/:id
noRecordsMessage: backend::lang.user.list_empty
recordsPerPage: 20
showSetup: true
filter: config_filter.yaml
toolbar:
buttons: [create]
search:
prompt: backend::lang.list.search_prompt
messages:
create: backend::lang.user.new