Creating users without role choice

Hello,

I’m trying to make multiple rôles that will be “superadmin”, “admin” & “default” for the moment. I actually have the three blueprints for the roles that are in the /users dir that are strictly the same, only the titles change.

I have a superadmin user and an admin user actually, and when I log with the superadmin, I can not do any role choice. BUT, when I log with the admin profile, I can choose between “superadmin” and “admin”.

I thought it was a filename issue or something, so I removed the superadmin.yml, and now I can only create users without being able to choose they roles.

And about the blueprints, i put a *: true everywhere.

Admin is the highest level that can do anything, and so only admins can currently assign user roles. And since an admin can do everything, there is little use in creating a superadmin role.

Thank you, I understand the first issue, so that’s normal to not see the role choice in the superadmin log. I can deal with it.

But now, why can’t I choose default when I’m admin ? I can only choose admin and superadmin, but all the blueprints are the same. :confused:

Ok, I just rename default.yml by test.yml, and everything is ok, so default is not a valid filename ?

Probably not