Poweradmin\Application\Controller\User
Classes
Handles the add-group form at /groups/add: validates the name and group template, then creates the group.
Handles the add-permission-template form: validates the fields and creates the template with its permissions.
Handles the add-user form: guards the template choice, creates the user, assigns groups and mails credentials.
Renders the API key list page and links to the add, edit, delete and regenerate actions.
Handles the delete-group confirmation page and deletes the group on confirmed POST.
Handles the delete-permission-template confirmation page and deletes the template on confirmed POST.
Handles the delete-user page: deletes the user and transfers or deletes each of their zones as chosen.
Handles the edit-group form: updates the name, description and permission template of a group.
Handles the edit-permission-template form: updates the template's details and permission set.
Handles the edit-user form: updates the profile, password, template and group memberships of a user.
Renders the groups list page at /groups.
Renders the permission templates list at /permissions/templates.
Handles the group members page: adds and removes users in a group.
Handles the group zones page: assigns zones to a group and removes them.
Handles the POST that removes one user from a group from the edit-group page.
Handles the POST that removes one zone from a group from the edit-group page.
Handles the POST that removes a user from one group from the edit-user page.
Handles the user preferences page: rows per page, form positions, display toggles and timezone.
Renders the users list and saves the inline edits submitted from it.