fix+add: seats + seat-chooser
This commit is contained in:
parent
2c6745e812
commit
b0cc5b5278
31 changed files with 808 additions and 115 deletions
|
@ -62,9 +62,6 @@ class User extends Authenticatable
|
|||
|
||||
public function allowedTo($permission): bool
|
||||
{
|
||||
if($this->role === 'manage') {
|
||||
return true;
|
||||
}
|
||||
if ($this->permissions()->where('permission_name', $permission)->first()) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue