feat: register the Users admin screen with the privileged-member guard
- permissions (the four Winter codes and manage_privileged_groups), the user navigation item and the embedded admin YAML - Users controller: list with deactivated users, row states, the groups, created date and activated filters, and the form's name, surname and email - a member of a group in golem15.user.privileged_groups (default admin) keeps their email, password and row unless the administrator holds golem15.users.manage_privileged_groups; the refusal is a 403 that saves nothing
This commit is contained in:
14
controllers/users/config_form.yaml
Normal file
14
controllers/users/config_form.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
name: golem15.user::lang.user.label
|
||||
form: ~/plugins/golem15/user/models/user/fields.yaml
|
||||
modelClass: Golem15\User\Models\User
|
||||
defaultRedirect: golem15/user/users
|
||||
|
||||
update:
|
||||
redirect: golem15/user/users/update/:id
|
||||
redirectClose: golem15/user/users
|
||||
|
||||
messages:
|
||||
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
|
||||
Reference in New Issue
Block a user