Files
sm-user-plugin/controllers/users/config_form.yaml
Jakub Zych f7ca3c4f59 feat: create users with a password and an invitation in the admin
- password with confirmation on create, optional reset on update that
  ends the user's sessions; the hash is never returned
- send_invite sends one invitation with an activation link after the
  create commits
- organisation picker, avatar upload shared with the user API and the
  frontend permission editor on the user form
- an email held by a deactivated user answers 422 instead of failing
  on the unique constraint
- the privileged-member guard now also refuses a submitted password
2026-10-05 13:21:51 +02:00

26 lines
743 B
YAML

name: golem15.user::lang.user.label
form: ~/plugins/golem15/user/models/user/fields.yaml
modelClass: Golem15\User\Models\User
defaultRedirect: golem15/user/users
create:
redirect: golem15/user/users/preview/:id
redirectClose: golem15/user/users
update:
redirect: golem15/user/users/update/:id
redirectClose: golem15/user/users/preview/:id
preview:
headerPartial: hint
recordActions: [activate, unban, unsuspend]
messages:
create: golem15.user::lang.users.new_user
update: backend::lang.messages.form.update
saved: backend::lang.messages.form.saved
deleteConfirm: golem15.user::lang.users.delete_confirm
deleted: backend::lang.messages.form.deleted
edit: golem15.user::lang.users.update_details