Silvanite / novatoolpermissions

Laravel Nova Permissions Tool (User, Roles and Permissions / Access Control (ACL))
MIT License
101 stars 32 forks source link

The Tool doesn't support custom User model #73

Open vladles opened 2 years ago

vladles commented 2 years ago

I want to use custom default User model for Laravel Nova, For Example "NovaUser"

If we look at Role Model from current lib we can look that we have relationships without $table arg, and BelongToMany relationships requested "nova_user_role" table in my case.

I have 2 option: 1) Hardcode $table for relationships methods, 2) Customize migrations