-
Hello ... I require to add additional relationships to roles. I am not sure how can I achieve that. At the moment I have created a custom model class ` use App\Models\EmployeeHandbook; class Role extends \Spatie\Permission\Models\Role
} But when I try to pull
I get this error message
Please can you guide me on how can I achieve this? I would really appreciate any help regarding this matter. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Just read documentation |
Beta Was this translation helpful? Give feedback.
Just read documentation
https://spatie.be/docs/laravel-permission/v5/advanced-usage/extending#content-extending-role-and-permission-models