minor
This commit is contained in:
parent
3ea8245f85
commit
db4a6901a4
@ -144,7 +144,7 @@ public function radiologistProfile(): HasOne
|
|||||||
|
|
||||||
public function canAccessPanel(Panel $panel): bool
|
public function canAccessPanel(Panel $panel): bool
|
||||||
{
|
{
|
||||||
return $this->isAdmin();
|
return $this->isAdmin() && $this->is_active;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function panels(): HasManyThrough
|
public function panels(): HasManyThrough
|
||||||
|
Loading…
Reference in New Issue
Block a user