Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using with custom Nova guard #146

Open
RomkaLTU opened this issue Nov 25, 2020 · 1 comment
Open

Using with custom Nova guard #146

RomkaLTU opened this issue Nov 25, 2020 · 1 comment

Comments

@RomkaLTU
Copy link

I'm using custom Nova guard "admin users", and all Nova users authenticating through admin_users table.
However when registering tool it's throwing:

Call to undefined method App\Models\AdminUser::hasRole()

@xPand4B
Copy link

xPand4B commented May 25, 2021

Did you include the Spatie\Permission\Traits\HasRoles trait inside your model?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants