Loading doc/release-notes/v2.1.8.md +8 −5 Changes for doc/release-notes/v2.1.8.md: 8 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -46,8 +46,8 @@ create table TYPE_RAPPORT ( create unique index TYPE_RAPPORT_UN on TYPE_RAPPORT (CODE) ; insert into TYPE_RAPPORT (ID, CODE, LIBELLE_COURT, LIBELLE_LONG) VALUES (1, 'RAPPORT_ACTIVITE_ANNUEL', 'Annuel', 'Rapport d''activité annuel') ; insert into TYPE_RAPPORT (ID, CODE, LIBELLE_COURT, LIBELLE_LONG) VALUES (2, 'RAPPORT_ACTIVITE_FINTHESE', 'Fin de thèse', 'Rapport d''activité de fin de thèse') ; alter table RAPPORT_ANNUEL modify EST_FINAL default null ; alter table RAPPORT_ANNUEL modify EST_FINAL null ; alter table RAPPORT_ANNUEL modify EST_FINAL default null ; alter table RAPPORT_ANNUEL add TYPE_RAPPORT_ID number ; update RAPPORT_ANNUEL set TYPE_RAPPORT_ID = 1 where EST_FINAL = 0; update RAPPORT_ANNUEL set TYPE_RAPPORT_ID = 2 where EST_FINAL = 1; Loading @@ -58,6 +58,8 @@ alter table RAPPORT_ANNUEL rename to RAPPORT ; rename RAPPORT_ANNUEL_ID_SEQ to RAPPORT_ID_SEQ; insert into CATEGORIE_PRIVILEGE (ID, CODE, LIBELLE, ORDRE) select CATEGORIE_PRIVILEGE_ID_SEQ.nextval, 'rapport-activite', 'Rapports d''activité', 23 from dual ; delete from PRIVILEGE where CATEGORIE_ID = (select id from CATEGORIE_PRIVILEGE where code = 'rapport-annuel') and CODE in ('televerser', 'supprimer', 'telecharger', 'telecharger-zip', 'rechercher', 'consulter'); insert into PRIVILEGE(ID, CATEGORIE_ID, CODE, LIBELLE, ORDRE) with tmp(code, libelle, ordre) as ( select 'lister-tout', 'Lister les rapports concernant toute thèse', 100 from dual union all Loading @@ -80,8 +82,9 @@ where CATEGORIE_ID = (select id from CATEGORIE_PRIVILEGE where code = 'rapport-a delete from CATEGORIE_PRIVILEGE where code = 'rapport-annuel'; update CATEGORIE_PRIVILEGE set ORDRE = 40 where code = 'validation' ; -----> ATTENTION : -----> Pensez maintenant à vous rendre dans SyGAL sur la page "Droits d'accès > Profils" pour accorder les nouveaux -----> privilèges de la catégorie "Rapports d'activité" aux profils Doctorant, MDD, ED, etc. ``` ## 3. Dans l'application SyGAL Pensez maintenant à vous rendre dans SyGAL sur la page "Droits d'accès > Profils" pour accorder les nouveaux privilèges de la catégorie "Rapports d'activité" aux profils concernés : Doctorant, MDD, ED, etc. Loading
doc/release-notes/v2.1.8.md +8 −5 Changes for doc/release-notes/v2.1.8.md: 8 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -46,8 +46,8 @@ create table TYPE_RAPPORT ( create unique index TYPE_RAPPORT_UN on TYPE_RAPPORT (CODE) ; insert into TYPE_RAPPORT (ID, CODE, LIBELLE_COURT, LIBELLE_LONG) VALUES (1, 'RAPPORT_ACTIVITE_ANNUEL', 'Annuel', 'Rapport d''activité annuel') ; insert into TYPE_RAPPORT (ID, CODE, LIBELLE_COURT, LIBELLE_LONG) VALUES (2, 'RAPPORT_ACTIVITE_FINTHESE', 'Fin de thèse', 'Rapport d''activité de fin de thèse') ; alter table RAPPORT_ANNUEL modify EST_FINAL default null ; alter table RAPPORT_ANNUEL modify EST_FINAL null ; alter table RAPPORT_ANNUEL modify EST_FINAL default null ; alter table RAPPORT_ANNUEL add TYPE_RAPPORT_ID number ; update RAPPORT_ANNUEL set TYPE_RAPPORT_ID = 1 where EST_FINAL = 0; update RAPPORT_ANNUEL set TYPE_RAPPORT_ID = 2 where EST_FINAL = 1; Loading @@ -58,6 +58,8 @@ alter table RAPPORT_ANNUEL rename to RAPPORT ; rename RAPPORT_ANNUEL_ID_SEQ to RAPPORT_ID_SEQ; insert into CATEGORIE_PRIVILEGE (ID, CODE, LIBELLE, ORDRE) select CATEGORIE_PRIVILEGE_ID_SEQ.nextval, 'rapport-activite', 'Rapports d''activité', 23 from dual ; delete from PRIVILEGE where CATEGORIE_ID = (select id from CATEGORIE_PRIVILEGE where code = 'rapport-annuel') and CODE in ('televerser', 'supprimer', 'telecharger', 'telecharger-zip', 'rechercher', 'consulter'); insert into PRIVILEGE(ID, CATEGORIE_ID, CODE, LIBELLE, ORDRE) with tmp(code, libelle, ordre) as ( select 'lister-tout', 'Lister les rapports concernant toute thèse', 100 from dual union all Loading @@ -80,8 +82,9 @@ where CATEGORIE_ID = (select id from CATEGORIE_PRIVILEGE where code = 'rapport-a delete from CATEGORIE_PRIVILEGE where code = 'rapport-annuel'; update CATEGORIE_PRIVILEGE set ORDRE = 40 where code = 'validation' ; -----> ATTENTION : -----> Pensez maintenant à vous rendre dans SyGAL sur la page "Droits d'accès > Profils" pour accorder les nouveaux -----> privilèges de la catégorie "Rapports d'activité" aux profils Doctorant, MDD, ED, etc. ``` ## 3. Dans l'application SyGAL Pensez maintenant à vous rendre dans SyGAL sur la page "Droits d'accès > Profils" pour accorder les nouveaux privilèges de la catégorie "Rapports d'activité" aux profils concernés : Doctorant, MDD, ED, etc.