In my project I have three roles, admin, manager and editor. The admin of course can edit and all users. The manager should be able to add new editors and edit them. I have the following blueprint for the manager
permissions:
access:
panel: true
site: true
settings: false
users: true
users:
changeRole: false
delete: false
With this blueprint the manager can also edit the administrators password and email. This of course should not be possible. How can I prevent the other roles to edit user(s) with admin role?