- Strapi Version: 4.3.6:
- Operating System: Ubuntu:
- Database: MySQL:
- Node Version: 16.17.0:
- NPM Version: 8.15.0:
- Yarn Version: 1.22.18:
I have enterprise edition of Strapi. I want to create new role for admin users.
Here is what I want. I want to create new role “Province” which can create sub admin users. But he can only create, read, update, delete those admin users which one he created.
Here is what I’m doing.
I create new role with name “Province” and under setting page I select “Users and Roles”
Screen Shot 1
From here I select the settings and under read condition I select “is creator” and then I save the setting and everything.
Screen Shot 2
I create new admin user “province_admin” with role “Province” and login with this user. When I go to users tab under setting, I can able to see all the users that are not created by me, even the supper users.
“province_admin” didn’t created any user yet, so it should be empty. I don’t know what I’m doing wrong here. If I remove the “read” permission for “Province” role then I’m not able to see any user even those which are create by “province_admin”