Files
summercms/modules/cabana/backendscreens/models/userrole/fields.yaml
Jakub Zych 8cb56a4c51 feat(cabana): list the administrators holding a role on the Roles form (quick-261028-rqg)
- users form partial on the Administrators tab of the role update form,
  served by rolesAdmin.PartialData through scopeAdministrators (D-03)
- deleted and deactivated holders marked, superusers only for superuser
  editors, first 100 rows with a count note, preview links for editors
  holding backend.manage_users
- en/pl phrases, README and docs, TestRolesSmoke asserts the partial
2026-10-28 21:32:19 +01:00

35 lines
1008 B
YAML

fields:
name:
label: backend::lang.user.role.name_field
comment: backend::lang.user.role.name_comment
type: text
span: left
code:
label: backend::lang.user.role.code_field
comment: backend::lang.user.role.code_comment
type: text
span: right
preset:
type: slug
field: name
description:
label: backend::lang.user.role.description_field
type: textarea
size: tiny
span: full
permissions:
label: backend::lang.user.role.permissions_field
comment: backend::lang.user.role.permissions_comment
type: permissioneditor
mode: checkbox
span: full
tab: backend::lang.user.permissions
users:
label: backend::lang.user.role.users_field
comment: backend::lang.user.role.users_comment
type: partial
path: users
context: update
span: full
tab: backend::lang.user.menu_label