This commit is contained in:
2025-10-29 01:35:00 +05:00
parent 1499fc531d
commit 5b03a9be19

View File

@@ -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;
}
} }