Closed McMazalf closed 4 years ago
Describe the bug When assigning a permission to a role the table with the permission relations won't create in my db
To Reproduce Steps to reproduce the behavior:
$role = Role::find('5caf55e4c7a94421800024b4'); $permission = Permission::find('5caf56c9c7a94421800024b5'); $role->givePermissionTo($permission);
I aint no expert, but try
$role = Role::where( '_id', '5caf55e4c7a94421800024b4') ; same with permission
Describe the bug When assigning a permission to a role the table with the permission relations won't create in my db
To Reproduce Steps to reproduce the behavior: