Loading module/Application/src/Application/Entity/Db/Role.php +2 Changes for module/Application/src/Application/Entity/Db/Role.php: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -18,6 +18,8 @@ class Role extends AbstractRole const CODE_DOCTORANT = 'DOCTORANT'; const CODE_ADMIN = 'ADMIN'; const CODE_BU = 'BU'; const CODE_BDD = 'BDD'; const CODE_DIRECTEUR_THESE = 'D'; const CODE_MEMBRE_JURY = 'M'; Loading module/Application/src/Application/Service/UserContextService.php +3 −3 Changes for module/Application/src/Application/Service/UserContextService.php: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -75,7 +75,7 @@ class UserContextService extends BaseUserContextService implements IndividuServi */ public function getSelectedRoleDoctorant() { return $this->_getSelectedRoleForRoleId(Role::ROLE_ID_DOCTORANT); return $this->_getSelectedRoleForCode(Role::CODE_DOCTORANT); } /** Loading @@ -86,7 +86,7 @@ class UserContextService extends BaseUserContextService implements IndividuServi */ public function getSelectedRoleBDD() { return $this->_getSelectedRoleForRoleId(Role::ROLE_ID_BUREAU_DES_DOCTORATS); return $this->_getSelectedRoleForCode(Role::CODE_BDD); } /** Loading @@ -94,7 +94,7 @@ class UserContextService extends BaseUserContextService implements IndividuServi */ public function getSelectedRoleBU() { return $this->_getSelectedRoleForRoleId(Role::ROLE_ID_BIBLIO_UNIV); return $this->_getSelectedRoleForCode(Role::CODE_BU); } /** Loading Loading
module/Application/src/Application/Entity/Db/Role.php +2 Changes for module/Application/src/Application/Entity/Db/Role.php: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -18,6 +18,8 @@ class Role extends AbstractRole const CODE_DOCTORANT = 'DOCTORANT'; const CODE_ADMIN = 'ADMIN'; const CODE_BU = 'BU'; const CODE_BDD = 'BDD'; const CODE_DIRECTEUR_THESE = 'D'; const CODE_MEMBRE_JURY = 'M'; Loading
module/Application/src/Application/Service/UserContextService.php +3 −3 Changes for module/Application/src/Application/Service/UserContextService.php: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -75,7 +75,7 @@ class UserContextService extends BaseUserContextService implements IndividuServi */ public function getSelectedRoleDoctorant() { return $this->_getSelectedRoleForRoleId(Role::ROLE_ID_DOCTORANT); return $this->_getSelectedRoleForCode(Role::CODE_DOCTORANT); } /** Loading @@ -86,7 +86,7 @@ class UserContextService extends BaseUserContextService implements IndividuServi */ public function getSelectedRoleBDD() { return $this->_getSelectedRoleForRoleId(Role::ROLE_ID_BUREAU_DES_DOCTORATS); return $this->_getSelectedRoleForCode(Role::CODE_BDD); } /** Loading @@ -94,7 +94,7 @@ class UserContextService extends BaseUserContextService implements IndividuServi */ public function getSelectedRoleBU() { return $this->_getSelectedRoleForRoleId(Role::ROLE_ID_BIBLIO_UNIV); return $this->_getSelectedRoleForCode(Role::CODE_BU); } /** Loading