Hello there! I’m following the Authorization’s User differentiation doc. I’ve got an next error on AuthorizationListener file: Role ‘user’ not found.
$authorization->addResource(Auth::class . ‘::authorize’);
$authorization->allow(‘user’, Auth::class . ‘::authorize’);
Have I forgot to add some row or table in database? I don’t understand where does put on the addRole() method to fix this.