Commit 0aa3e284 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Nouveau module Individu : recherche, création (à partir de rien ou d'un utilisateur), modification.

parents 9e81764d 255b1e36
Loading
Loading
Loading
Loading
+1 −1
Changes for CHANGELOG.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ Journal des modifications
-----
- Nouveau module Individu : recherche, création (à partir de rien ou d'un utilisateur), modification.
- Possibilité de renseigner l'identifiant HAL d'une structure (nécessaire pour l'envoi vers STEP/STAR).
- Import du code de la discipline SISE de la thèse.
- Import du code Apogée de la discipline SISE de la thèse.
- Extraction d'un module Structure.
- [FIX] Plantage de la page détails d'une structure si fichier inexistant sur le serveur (typique en preprod).
- [FIX] Page des détails d'une structure : retour au bon onglet en cas d'action (ex : dépôt d'un document).
+1 −0
Changes for config/application.config.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ return [
        'Structure',
        'Import',
        'Indicateur',
        'Individu',
        'Retraitement',
        'Soutenance',
        'RapportActivite',
+1 −0
Changes for config/autoload/global.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -312,6 +312,7 @@ const CONFIG_IMPORTS = [
                'email' => 'EMAIL',
                'dateNaissance' => 'DAT_NAI_PER',
                'nationalite' => 'LIB_NAT',
                'codePaysNationalite' => 'cod_pay_nat', // à partir de la v2.1.0 du WS
                'sourceCode' => 'SOURCE_CODE',
                'sourceId' => 'SOURCE_ID',
                'sourceInsertDate' => 'SOURCE_INSERT_DATE',
+16 −16
Changes for data/SQL/privilege.sql: 16 added lines, 16 removed lines.
Original line number Diff line number Diff line
@@ -9,13 +9,13 @@ insert into CATEGORIE_PRIVILEGE(ID, CODE, LIBELLE, ORDRE) values (666, 'utilisat
--
insert into PRIVILEGE(ID, CATEGORIE_ID, CODE, LIBELLE, ORDRE)
with d(ordre, code, lib) as (
    select 10, 'lister', 'Lister les jetons utilisateur' from dual union
    select 20, 'consulter', 'Consulter un jeton utilisateur' from dual union
    select 30, 'creer', 'Créer un jeton utilisateur' from dual union
    select 40, 'modifier', 'Modifier un jeton utilisateur' from dual union
    select 50, 'prolonger', 'Prolonger un jeton utilisateur' from dual union
    select 60, 'supprimer', 'SUpprimer un jeton utilisateur' from dual union
    select 70, 'tester', 'Tester unejeton utilisateur' from dual
    select 10, 'lister', 'Lister les jetons utilisateur' union
    select 20, 'consulter', 'Consulter un jeton utilisateur' union
    select 30, 'creer', 'Créer un jeton utilisateur' union
    select 40, 'modifier', 'Modifier un jeton utilisateur' union
    select 50, 'prolonger', 'Prolonger un jeton utilisateur' union
    select 60, 'supprimer', 'SUpprimer un jeton utilisateur' union
    select 70, 'tester', 'Tester unejeton utilisateur'
)
select nextval('privilege_id_seq'), cp.id, d.code, d.lib, d.ordre
from d
@@ -27,8 +27,8 @@ join CATEGORIE_PRIVILEGE cp on cp.CODE = 'unicaen-auth-token'
--
INSERT INTO PROFIL_PRIVILEGE (PRIVILEGE_ID, PROFIL_ID)
    with data(categ, priv) as (
        select 'these', 'consultation-page-couverture' from dual /*union
        select 'xxxxx', 'xxx' from dual*/
        select 'these', 'consultation-page-couverture' /*union
        select 'xxxxx', 'xxx'*/
    )
    select p.id as PRIVILEGE_ID, profil.id as PROFIL_ID
    from data
@@ -50,10 +50,10 @@ INSERT INTO PROFIL_PRIVILEGE (PRIVILEGE_ID, PROFIL_ID)
--
insert into PROFIL_TO_ROLE (PROFIL_ID, ROLE_ID)
    with data(PROFIL_CODE, ROLE_ROLE_ID) as (
        select 'BDD', 'Maison du doctorat UCN' from dual union
        select 'BDD', 'Maison du doctorat URN' from dual union
        select 'BDD', 'Maison du doctorat ULHN' from dual union
        select 'BDD', 'Maison du doctorat INSA' from dual
        select 'BDD', 'Maison du doctorat UCN' union
        select 'BDD', 'Maison du doctorat URN' union
        select 'BDD', 'Maison du doctorat ULHN' union
        select 'BDD', 'Maison du doctorat INSA'
    )
    select pr.id, r.id
    from data
@@ -95,11 +95,11 @@ where not exists (
--
-- Mise en conformité brutale entre 2 bdd des CATEGORIE_PRIVILEGE, PRIVILEGE, ROLE_PRIVILEGE.
--
select 'delete from ROLE_PRIVILEGE;' from dual
select 'delete from ROLE_PRIVILEGE;'
union all
select 'delete from PRIVILEGE;' from dual
select 'delete from PRIVILEGE;'
union all
select 'delete from CATEGORIE_PRIVILEGE;' from dual
select 'delete from CATEGORIE_PRIVILEGE;'
union all
select 'INSERT INTO CATEGORIE_PRIVILEGE (ID, CODE, LIBELLE, ORDRE) VALUES (' || id || ', ''' || code ||''', ''' || replace(libelle, '''', '''''') || ''', ' || ordre || ');' from CATEGORIE_PRIVILEGE
union all
+508 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading