wip
This commit is contained in:
1 parent
1499fc531d
commit
5b03a9be19
1 file changed
+9
@@ -3,6 +3,7 @@
|
|||||||
namespace App\Modules\UserAdjustments\Traits;
|
namespace App\Modules\UserAdjustments\Traits;
|
||||||
|
|
||||||
use Spatie\Permission\Traits\HasRoles;
|
use Spatie\Permission\Traits\HasRoles;
|
||||||
|
use Filament\Panel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @property string $username [unique]
|
* @property string $username [unique]
|
||||||
@@ -60,4 +61,12 @@ public function passport_id(): string
|
|||||||
{
|
{
|
||||||
return (string) $this->getOption('passport_id');
|
return (string) $this->getOption('passport_id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Can access panel
|
||||||
|
*/
|
||||||
|
public function canAccessPanel(Panel $panel): bool
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user