- 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
17 lines
422 B
YAML
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
|