Loading module/Application/src/Assertion/AgrementAssertion.php +5 Changes for module/Application/src/Assertion/AgrementAssertion.php: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -153,6 +153,11 @@ class AgrementAssertion extends AbstractAssertion } if (!$role instanceof Role) return false; if ($role->getIntervenant() && str_starts_with($page['route'], 'gestion/')) { return false; } if ($privilege && !$role->hasPrivilege($privilege)) return false; if ($wfEtape && $intervenant && !$this->isAllowed(WorkflowResource::create($wfEtape, $intervenant))) return false; Loading Loading
module/Application/src/Assertion/AgrementAssertion.php +5 Changes for module/Application/src/Assertion/AgrementAssertion.php: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -153,6 +153,11 @@ class AgrementAssertion extends AbstractAssertion } if (!$role instanceof Role) return false; if ($role->getIntervenant() && str_starts_with($page['route'], 'gestion/')) { return false; } if ($privilege && !$role->hasPrivilege($privilege)) return false; if ($wfEtape && $intervenant && !$this->isAllowed(WorkflowResource::create($wfEtape, $intervenant))) return false; Loading