novatoolpermissions
                                
                                 novatoolpermissions copied to clipboard
                                
                                    novatoolpermissions copied to clipboard
                            
                            
                            
                        Call to undefined method App\User::hasRoleWithPermission()
I got the following error after creating a new role:
Facade\Ignition\Exceptions\ViewException Call to undefined method App\User::hasRoleWithPermission() (View: /shared/httpd/tp/htdocs/nova/resources/views/layout.blade.php)
Laravel: 6.8.x Nova: 2.12.x
Hi. Hard to say without seeing some code related to this but have you added the Silvanite\Brandenburg\Traits\HasRoles; trait to your User model?
of course, I did everything based on the documentation
same :(
Laravel 7.x Nova 3.x