I’m building a new site for a client. I will be the Admin User, the client an Editor User. I’m writing an Editor Users Blueprint, setting up Permissions. The bit I don’t understand is the difference between the ‘user’ permissions and the ‘users’ permissions? They kind of sound like the same thing?
Here’s my blueprint (just the sections in question):
title: Editor
description: Allows editing and updating the website
permissions:
user:
changeEmail: true
changeLanguage: false
changeName: true
changePassword: true
changeRole: false
delete: true
update: true
users:
changeEmail: true
changeLanguage: false
changeName: true
changePassword: true
changeRole: false
create: true
delete: true
update: true
I want the client / editor to be able to:
- change their email address and the email of any new users they set up.
- not change my Admin email
- change their password, but not my password, or any other users password.
- not change their role to Admin, or make any new user role as Admin
- delete other editor users, but not delete the Admin user
Is this possible and does this code do the trick?
Thanks for any help