Files
sm-user-plugin/models/usergroup/fields.yaml
Jakub Zych a3992879db feat: User Groups admin screen with the users count and privileged codes protected
- controller golem15.user.usergroups behind golem15.users.access_groups
- list with users_count from the list's own query; form with the checkbox
  permission editor stored in user_groups.permissions
- creating a group with a privileged code, changing a code to or from one and
  deleting a privileged group need golem15.users.manage_privileged_groups
- a group delete removes its users_groups rows in the same transaction
- UserGroup gains Fillable, Rules and the read-only UsersCount; PermissionSet.Text
- TestAdminGroups and the D-06 matrix in TestAdminPrivilegedGroups
2026-10-05 13:52:26 +02:00

22 lines
554 B
YAML

fields:
name:
label: golem15.user::lang.group.name
type: text
span: left
required: true
code:
label: golem15.user::lang.group.code
comment: golem15.user::lang.group.code_comment
type: text
span: right
preset: name
description:
label: golem15.user::lang.group.description_field
type: textarea
size: tiny
permissions:
type: permissioneditor
mode: checkbox
span: full
tab: golem15.user::lang.user.permissions_tab