mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 21:14:03 +00:00
User impersonation
This commit is contained in:
parent
52476d6298
commit
10a5b80d44
9 changed files with 432 additions and 2 deletions
|
|
@ -10,6 +10,7 @@ use Stancl\Tenancy\Events\DomainSaved;
|
|||
use Stancl\Tenancy\Events\DomainUpdated;
|
||||
use Stancl\Tenancy\Exceptions\DomainOccupiedByOtherTenantException;
|
||||
use Stancl\Tenancy\Contracts;
|
||||
use Stancl\Tenancy\Database\Concerns\CentralConnection;
|
||||
|
||||
/**
|
||||
* @property string $domain
|
||||
|
|
@ -19,6 +20,8 @@ use Stancl\Tenancy\Contracts;
|
|||
*/
|
||||
class Domain extends Model implements Contracts\Domain
|
||||
{
|
||||
use CentralConnection;
|
||||
|
||||
public $guarded = [];
|
||||
public $casts = [
|
||||
'is_primary' => 'bool',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue