mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-09 21:48:41 +00:00
Fix permission check NO_CI
This commit is contained in:
parent
672ab973c8
commit
2a07ba2f39
|
|
@ -414,7 +414,7 @@ class PermissionAbstract implements \JsonSerializable
|
||||||
&& ($type === null || $this->type === null || $this->type === $type)
|
&& ($type === null || $this->type === null || $this->type === $type)
|
||||||
&& ($element === null || $this->element === null || $this->element === $element)
|
&& ($element === null || $this->element === null || $this->element === $element)
|
||||||
&& ($component === null || $this->component === null || $this->component === $component)
|
&& ($component === null || $this->component === null || $this->component === $component)
|
||||||
&& ($this->permission | $permission) === $this->permission);
|
&& ($this->permission & $permission) === $permission);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user