Commit 14371da0 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Fermeture assertion

parent 11c875f4
Loading
Loading
Loading
Loading

Empty file added.

+6
Changes for module/Application/src/Application/Assertion/FichePosteAssertion.php: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -105,7 +105,13 @@ class FichePosteAssertion extends AbstractAssertion {
                        return false;
                }
            case FichePostePrivileges::FICHEPOSTE_ETAT :
                switch ($role->getRoleId()) {
                    case RoleConstant::ADMIN_FONC:
                    case RoleConstant::ADMIN_TECH:
                        return true;
                    default :
                        return false;
                }
            case FichePostePrivileges::FICHEPOSTE_VALIDER_RESPONSABLE :
                switch ($role->getRoleId()) {
                    case RoleConstant::ADMIN_FONC: