feat: implement multi-tenancy and super admin impersonation with security banner
This commit is contained in:
@@ -24,7 +24,7 @@ return [
|
||||
* `Spatie\Permission\Contracts\Role` contract.
|
||||
*/
|
||||
|
||||
'role' => Spatie\Permission\Models\Role::class,
|
||||
'role' => \App\Models\Role::class,
|
||||
|
||||
],
|
||||
|
||||
@@ -93,7 +93,7 @@ return [
|
||||
* foreign key is other than `team_id`.
|
||||
*/
|
||||
|
||||
'team_foreign_key' => 'team_id',
|
||||
'team_foreign_key' => 'structure_id',
|
||||
],
|
||||
|
||||
/*
|
||||
@@ -131,7 +131,7 @@ return [
|
||||
* (view the latest version of this package's migration file)
|
||||
*/
|
||||
|
||||
'teams' => false,
|
||||
'teams' => true,
|
||||
|
||||
/*
|
||||
* The class to use to resolve the permissions team id
|
||||
|
||||
Reference in New Issue
Block a user