eminiarts / nova-permissions

Laravel Nova Grouped Permissions
126 stars 65 forks source link

Registering Package Related Policies #9

Closed tanmuhittin closed 5 years ago

tanmuhittin commented 5 years ago

For navigation to work properly and for the sake of security, policies related to spatie models must be registered in AuthServiceProvider.php I think this should be in Readme.

Example: 'Spatie\Permission\Models\Permission' => 'App\Policies\Policy', 'Spatie\Permission\Models\Role' => 'App\Policies\Policy',

bajramemini commented 5 years ago

Thanks @tanmuhittin

This error came from a pull request. Going to fix it right now.

Regards