ProcessWire - Benutzerverwaltung
Hier geht es um User, User-Roles, Benutzergruppen, Rechteverwaltung und Permissionverwaltung in ProcessWire
Links
https://processwire.com/docs/user-access/permissions/#user-admin
Permissions
Typisch für ProcessWire - alles ist eine Seite, so sind auch die Permissionobjekte Ableger vom Seitenobjekt und recht allgemein gehalten:
Permissions in ProcessWire are objects of type Permission (a type of Page object). They each represent permission to access something, or to perform some action.
Permissions werden also nicht nur für User sondern auch für andere Dinge eingesetzt.
ProcessWire - Permissions
User admin permissions
Die wichtigsten Rollen für die Benutzerverwaltung. Oft benötigt werden Redakteure, die als erweitertes Recht andere User zu Redakteuren machen können. Dafür erstellst du z.B. eine Rolle editor und eine Rolle user-admin-editor. Über die Namensgebung erkennt ProcessWire automatisch, dass Benutzer mit der Rolle user-admin-editor andere Editors ernennen können.
user-admin
Enables a user to administer all other users in the system (except superusers). Enables access to the Access > Users section of the admin. Also requires page-edit permission. When a ProcessWire 2.6.10+ system also has user-admin-all permission installed, the behavior of this permission is changed. See the following permissions for more details.
user-admin-all
When installed, this permission takes over the behavior of the user-admin permission, reducing the user-admin permission to just being able to edit "guest" users. The user-admin-all permission is primarily useful when combined with a user-admin-[role] permission, as described next. Users that you want to have this permission must also have page-edit and user-admin permission. Requires ProcessWire 2.6.10 or newer. See also discussion and examples of user-admin permissions.
user-admin-[role]
Enables editing of all users with the given [role]. Replace "[role]" with the name of the role you want to provide edit access to. Also requires page-edit and user-admin permission. Requires ProcessWire 2.6.10 or newer. See also discussion and examples of user-admin permissions.