feat: Enforce active user status for panel access and update name attribute accessor syntax.

This commit is contained in:
Yoga Pangestu 2026-03-12 09:17:15 +07:00
parent dd8a313a24
commit b8963032fd

View File

@ -49,7 +49,7 @@ protected function inactive(Builder $query): void
public function canAccessPanel(Panel $panel): bool
{
return true;
return $this->is_active === IsActive::Active;
}
protected function name(): Attribute