Files
sm-user-plugin/controllers/usergroups/config_form.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

20 lines
629 B
YAML

name: golem15.user::lang.group.label
form: ~/plugins/golem15/user/models/usergroup/fields.yaml
modelClass: Golem15\User\Models\UserGroup
defaultRedirect: golem15/user/usergroups
create:
redirect: golem15/user/usergroups/update/:id
redirectClose: golem15/user/usergroups
update:
redirect: golem15/user/usergroups
redirectClose: golem15/user/usergroups
messages:
create: golem15.user::lang.groups.new_group
update: backend::lang.messages.form.update
saved: backend::lang.messages.form.saved
deleteConfirm: golem15.user::lang.groups.delete_confirm
deleted: backend::lang.messages.form.deleted