Created
December 16, 2017 18:32
-
-
Save ashokgelal/784e5ab832ed9c72b3ea7e4554e05aab to your computer and use it in GitHub Desktop.
We have to make Role model be aware of both permission management and multi-tenancy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App; | |
use Hyn\Tenancy\Traits\UsesTenantConnection; | |
use Spatie\Permission\Models\Role as BaseRole; | |
class Role extends BaseRole | |
{ | |
use UsesTenantConnection; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment