Loading config/autoload/unicaen-privilege.global.php +0 −1 Changes for config/autoload/unicaen-privilege.global.php: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ $settings = [ 200 => 'UnicaenAuthentification\Provider\Identity\Db', // en 2e 100 => 'UnicaenAuthentification\Provider\Identity\Ldap', // en 3e @deprecated 010 => 'Application\Provider\IdentityProvider', // en 3e 001 => 'EntretienProfessionnel\Provider\IdentityProvider', // en 3e 000 => 'Structure\Provider\IdentityProvider', // en 3e ], ], Loading config/autoload/unicaen-utilisateur.global.php +0 −1 Changes for config/autoload/unicaen-utilisateur.global.php: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -73,7 +73,6 @@ return [ ], 'identity-provider' => [ IdentityProvider::class, \EntretienProfessionnel\Provider\IdentityProvider::class, \Structure\Provider\IdentityProvider::class, ], 'application-username' => 'preecog', Loading documentation/500_BD_EMC2_ENTRETIENPROFESSIONNEL.sql +0 −17 Changes for documentation/500_BD_EMC2_ENTRETIENPROFESSIONNEL.sql: 0 added lines, 17 removed lines. Original line number Diff line number Diff line Loading @@ -73,22 +73,6 @@ create table entretienprofessionnel_sursis ); create unique index entretienprofessionnel_sursis_id_uindex on entretienprofessionnel_sursis (id); create table entretienprofessionnel_delegue ( id serial not null constraint entretienprofessionnel_delegue_pk primary key, campagne_id integer not null constraint entretienprofessionnel_delegue_entretienprofessionnel_campagne_ references entretienprofessionnel_campagne on delete cascade, agent_id varchar(40) not null constraint entretienprofessionnel_delegue_agent_c_individu_fk references agent on delete cascade, structure_id bigint not null constraint entretienprofessionnel_delegue_structure_id_fk references structure on delete cascade, description text, histo_creation timestamp not null, histo_createur_id integer not null constraint entretienprofessionnel_delegue_unicaen_utilisateur_user_id_fk references unicaen_utilisateur_user, histo_modification timestamp, histo_modificateur_id integer constraint entretienprofessionnel_delegue_unicaen_utilisateur_user_id_fk_2 references unicaen_utilisateur_user, histo_destruction timestamp, histo_destructeur_id integer constraint entretienprofessionnel_delegue_unicaen_utilisateur_user_id_fk_3 references unicaen_utilisateur_user ); create unique index entretienprofessionnel_delegue_id_uindex on entretienprofessionnel_delegue (id); create table entretienprofessionnel_validation ( entretien_id integer not null constraint entretienprofessionnel_validation_entretien_professionnel_id_fk references entretienprofessionnel on delete cascade, Loading Loading @@ -612,7 +596,6 @@ INSERT INTO unicaen_autoform_champ (id, categorie, code, libelle, texte, ordre, -- role ---------------------------------------------------------------------------------------------------------------- INSERT INTO unicaen_utilisateur_role (libelle, role_id, is_default, ldap_filter, parent_id, is_auto, accessible_exterieur) VALUES ('Supérieur·e hiérarchique direct·e', 'Supérieur·e hiérarchique direct·e', false, null, null, true, null); INSERT INTO unicaen_utilisateur_role (libelle, role_id, is_default, ldap_filter, parent_id, is_auto, accessible_exterieur) VALUES ('Délégué·e pour entretien professionnel', 'Délégué·e pour entretien professionnel', false, null, null, true, null); INSERT INTO unicaen_utilisateur_role (libelle, role_id, is_default, ldap_filter, parent_id, is_auto, accessible_exterieur) VALUES ('Autorité hiérarchique', 'Autorité hiérarchique', false, null, null, true, null); documentation/release/3.1.8.md +17 −0 Changes for documentation/release/3.1.8.md: 17 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -7,11 +7,24 @@ Changements * [FIX] EP : correction de la recherche des responsables d'entretien pour les agents sans obligation d'EP * Nouveau paramètre 'Adresse d'assistance' * Affichage des témoins des affectations soumis à privilège * Retrait de la notion de délégué·e pour une compagne d'entretien professionnel Modification de la base de données --- ```postgresql -- ---------------------------------------------------------------------------- -- RETRAIT DE LA NOTION DE DELEGUE -------------------------------------------- -- ---------------------------------------------------------------------------- DELETE FROM unicaen_utilisateur_role where role_id='Délégué·e pour entretien professionnel'; DROP TABLE entretienprofessionnel_delegue; -- ---------------------------------------------------------------------------- -- NOUVEAUX PARAMETRES -------------------------------------------------------- -- ---------------------------------------------------------------------------- INSERT INTO unicaen_parametre_parametre(CATEGORIE_ID, CODE, LIBELLE, DESCRIPTION, VALEURS_POSSIBLES, VALEUR, ORDRE) WITH d(CODE, LIBELLE, DESCRIPTION, VALEURS_POSSIBLES, VALEUR, ORDRE) AS ( SELECT 'EMAIL_ASSISTANCE','Adresse électronique de l''assistance',null,'String',null, 100 Loading @@ -22,6 +35,10 @@ JOIN unicaen_parametre_categorie cp ON cp.CODE = 'GLOBAL'; -- TODO donner la valeur aux périmètres -- ---------------------------------------------------------------------------- -- NOUVEAUX PRIVILEGES -------------------------------------------------------- -- ---------------------------------------------------------------------------- INSERT INTO unicaen_privilege_privilege(CATEGORIE_ID, CODE, LIBELLE, ORDRE) WITH d(code, lib, ordre) AS ( SELECT 'agentaffichage_temoin_affectation', 'Afficher les temoins liés aux affectations', 60 UNION Loading module/Application/src/Application/Controller/IndexController.php +0 −2 Changes for module/Application/src/Application/Controller/IndexController.php: 0 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -66,8 +66,6 @@ class IndexController extends AbstractActionController $structures = $this->getStructureService()->getStructuresByResponsable($connectedUser); if (!empty($structures)) return $this->redirect()->toRoute('structure/afficher', ['structure' => $structures[0]->getId()], [], true); break; case EntretienProfessionnelRoles::ROLE_DELEGUE : return $this->redirect()->toRoute('entretien-professionnel/index-delegue', [], [], true); case Agent::ROLE_SUPERIEURE : /** @see IndexController::indexSuperieurAction() */ return $this->redirect()->toRoute('index-superieur', [], [], true); Loading Loading
config/autoload/unicaen-privilege.global.php +0 −1 Changes for config/autoload/unicaen-privilege.global.php: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ $settings = [ 200 => 'UnicaenAuthentification\Provider\Identity\Db', // en 2e 100 => 'UnicaenAuthentification\Provider\Identity\Ldap', // en 3e @deprecated 010 => 'Application\Provider\IdentityProvider', // en 3e 001 => 'EntretienProfessionnel\Provider\IdentityProvider', // en 3e 000 => 'Structure\Provider\IdentityProvider', // en 3e ], ], Loading
config/autoload/unicaen-utilisateur.global.php +0 −1 Changes for config/autoload/unicaen-utilisateur.global.php: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -73,7 +73,6 @@ return [ ], 'identity-provider' => [ IdentityProvider::class, \EntretienProfessionnel\Provider\IdentityProvider::class, \Structure\Provider\IdentityProvider::class, ], 'application-username' => 'preecog', Loading
documentation/500_BD_EMC2_ENTRETIENPROFESSIONNEL.sql +0 −17 Changes for documentation/500_BD_EMC2_ENTRETIENPROFESSIONNEL.sql: 0 added lines, 17 removed lines. Original line number Diff line number Diff line Loading @@ -73,22 +73,6 @@ create table entretienprofessionnel_sursis ); create unique index entretienprofessionnel_sursis_id_uindex on entretienprofessionnel_sursis (id); create table entretienprofessionnel_delegue ( id serial not null constraint entretienprofessionnel_delegue_pk primary key, campagne_id integer not null constraint entretienprofessionnel_delegue_entretienprofessionnel_campagne_ references entretienprofessionnel_campagne on delete cascade, agent_id varchar(40) not null constraint entretienprofessionnel_delegue_agent_c_individu_fk references agent on delete cascade, structure_id bigint not null constraint entretienprofessionnel_delegue_structure_id_fk references structure on delete cascade, description text, histo_creation timestamp not null, histo_createur_id integer not null constraint entretienprofessionnel_delegue_unicaen_utilisateur_user_id_fk references unicaen_utilisateur_user, histo_modification timestamp, histo_modificateur_id integer constraint entretienprofessionnel_delegue_unicaen_utilisateur_user_id_fk_2 references unicaen_utilisateur_user, histo_destruction timestamp, histo_destructeur_id integer constraint entretienprofessionnel_delegue_unicaen_utilisateur_user_id_fk_3 references unicaen_utilisateur_user ); create unique index entretienprofessionnel_delegue_id_uindex on entretienprofessionnel_delegue (id); create table entretienprofessionnel_validation ( entretien_id integer not null constraint entretienprofessionnel_validation_entretien_professionnel_id_fk references entretienprofessionnel on delete cascade, Loading Loading @@ -612,7 +596,6 @@ INSERT INTO unicaen_autoform_champ (id, categorie, code, libelle, texte, ordre, -- role ---------------------------------------------------------------------------------------------------------------- INSERT INTO unicaen_utilisateur_role (libelle, role_id, is_default, ldap_filter, parent_id, is_auto, accessible_exterieur) VALUES ('Supérieur·e hiérarchique direct·e', 'Supérieur·e hiérarchique direct·e', false, null, null, true, null); INSERT INTO unicaen_utilisateur_role (libelle, role_id, is_default, ldap_filter, parent_id, is_auto, accessible_exterieur) VALUES ('Délégué·e pour entretien professionnel', 'Délégué·e pour entretien professionnel', false, null, null, true, null); INSERT INTO unicaen_utilisateur_role (libelle, role_id, is_default, ldap_filter, parent_id, is_auto, accessible_exterieur) VALUES ('Autorité hiérarchique', 'Autorité hiérarchique', false, null, null, true, null);
documentation/release/3.1.8.md +17 −0 Changes for documentation/release/3.1.8.md: 17 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -7,11 +7,24 @@ Changements * [FIX] EP : correction de la recherche des responsables d'entretien pour les agents sans obligation d'EP * Nouveau paramètre 'Adresse d'assistance' * Affichage des témoins des affectations soumis à privilège * Retrait de la notion de délégué·e pour une compagne d'entretien professionnel Modification de la base de données --- ```postgresql -- ---------------------------------------------------------------------------- -- RETRAIT DE LA NOTION DE DELEGUE -------------------------------------------- -- ---------------------------------------------------------------------------- DELETE FROM unicaen_utilisateur_role where role_id='Délégué·e pour entretien professionnel'; DROP TABLE entretienprofessionnel_delegue; -- ---------------------------------------------------------------------------- -- NOUVEAUX PARAMETRES -------------------------------------------------------- -- ---------------------------------------------------------------------------- INSERT INTO unicaen_parametre_parametre(CATEGORIE_ID, CODE, LIBELLE, DESCRIPTION, VALEURS_POSSIBLES, VALEUR, ORDRE) WITH d(CODE, LIBELLE, DESCRIPTION, VALEURS_POSSIBLES, VALEUR, ORDRE) AS ( SELECT 'EMAIL_ASSISTANCE','Adresse électronique de l''assistance',null,'String',null, 100 Loading @@ -22,6 +35,10 @@ JOIN unicaen_parametre_categorie cp ON cp.CODE = 'GLOBAL'; -- TODO donner la valeur aux périmètres -- ---------------------------------------------------------------------------- -- NOUVEAUX PRIVILEGES -------------------------------------------------------- -- ---------------------------------------------------------------------------- INSERT INTO unicaen_privilege_privilege(CATEGORIE_ID, CODE, LIBELLE, ORDRE) WITH d(code, lib, ordre) AS ( SELECT 'agentaffichage_temoin_affectation', 'Afficher les temoins liés aux affectations', 60 UNION Loading
module/Application/src/Application/Controller/IndexController.php +0 −2 Changes for module/Application/src/Application/Controller/IndexController.php: 0 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -66,8 +66,6 @@ class IndexController extends AbstractActionController $structures = $this->getStructureService()->getStructuresByResponsable($connectedUser); if (!empty($structures)) return $this->redirect()->toRoute('structure/afficher', ['structure' => $structures[0]->getId()], [], true); break; case EntretienProfessionnelRoles::ROLE_DELEGUE : return $this->redirect()->toRoute('entretien-professionnel/index-delegue', [], [], true); case Agent::ROLE_SUPERIEURE : /** @see IndexController::indexSuperieurAction() */ return $this->redirect()->toRoute('index-superieur', [], [], true); Loading