Skip to content

Commit

Permalink
Merge pull request #36 from lara-zeus/canAccessPanel
Browse files Browse the repository at this point in the history
canAccessPanel remove can Access Panel,
  • Loading branch information
atmonshi authored Aug 22, 2024
2 parents 42fe475 + bb4c6e8 commit fb61039
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/Models/Concerns/ForFilament.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,6 @@

trait ForFilament
{
public function canAccessPanel(Panel $panel): bool
{
return true;

/*if ($panel->getId() === 'admin') {
return $this->email === '[email protected]';
}
return true;*/
}

public function getTenants(Panel $panel): array | Collection
{
return $this->allCompanies();
Expand Down

0 comments on commit fb61039

Please sign in to comment.