Help with "adminRoles"

I configured it:

plugins: [
    admin({
      roles: {},
      adminRoles: ["admin", "superadmin"],
    })
  ],


And I created a user using "superadmin". But when I try to perform an action, like creating another user, I get the message "You are not allowed to create users".

Do I need to do any other configuration besides just registering "superadmin" in the admin() plugin?
Was this page helpful?