wip
This commit is contained in:
@@ -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 @@ trait UserAdjustments
|
|||||||
{
|
{
|
||||||
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