Commit 198c0c6d authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

Déploiement de la 6.3 en approche...

dernière maj des docs
parent 1973afa3
......@@ -5,7 +5,7 @@ if (file_exists($versionFile)){
}else{
$version = 'inconnue';
}
$dateVersion = '03/04/2018';
$dateVersion = '12/04/2018';
return [
'unicaen-app' => [
......
......@@ -19140,6 +19140,8 @@ INSERT INTO PRIVILEGE(ID, CODE, LIBELLE, CATEGORIE_ID, ORDRE) VALUES (PRIVILEGE_
INSERT INTO PRIVILEGE(ID, CODE, LIBELLE, CATEGORIE_ID, ORDRE) VALUES (PRIVILEGE_ID_SEQ.NEXTVAL, q'[gestion-visualisation]', q'[Gestion (visualisation)]', (SELECT ID FROM CATEGORIE_PRIVILEGE WHERE ROWNUM = 1 AND CODE = q'[modif-service-du]'), 6);
INSERT INTO PRIVILEGE(ID, CODE, LIBELLE, CATEGORIE_ID, ORDRE) VALUES (PRIVILEGE_ID_SEQ.NEXTVAL, q'[sources-edition]', q'[Sources (édition)]', (SELECT ID FROM CATEGORIE_PRIVILEGE WHERE ROWNUM = 1 AND CODE = q'[import]'), 5);
INSERT INTO PRIVILEGE(ID, CODE, LIBELLE, CATEGORIE_ID, ORDRE) VALUES (PRIVILEGE_ID_SEQ.NEXTVAL, q'[sources-visualisation]', q'[Sources (visualisation)]', (SELECT ID FROM CATEGORIE_PRIVILEGE WHERE ROWNUM = 1 AND CODE = q'[import]'), 6);
INSERT INTO PRIVILEGE(ID, CODE, LIBELLE, CATEGORIE_ID, ORDRE) VALUES (PRIVILEGE_ID_SEQ.NEXTVAL, q'[tables-edition]', q'[Tables (édition)]', (SELECT ID FROM CATEGORIE_PRIVILEGE WHERE ROWNUM = 1 AND CODE = q'[import]'), 7);
INSERT INTO PRIVILEGE(ID, CODE, LIBELLE, CATEGORIE_ID, ORDRE) VALUES (PRIVILEGE_ID_SEQ.NEXTVAL, q'[tables-visualisation]', q'[Tables (visualisation)]', (SELECT ID FROM CATEGORIE_PRIVILEGE WHERE ROWNUM = 1 AND CODE = q'[import]'), 8);
 
 
-- Table TBL
......@@ -107,4 +107,22 @@ END;
drop package "OSE"."OSE_IMPORT";
/
\ No newline at end of file
/
INSERT INTO PRIVILEGE (
ID,
CATEGORIE_ID,
CODE,
LIBELLE,
ORDRE
)
SELECT
privilege_id_seq.nextval id,
(SELECT id FROM CATEGORIE_PRIVILEGE WHERE code = t1.c ) CATEGORIE_ID,
t1.p CODE,
t1.l LIBELLE,
(SELECT count(*) FROM PRIVILEGE WHERE categorie_id = (SELECT id FROM CATEGORIE_PRIVILEGE WHERE code = t1.c )) + rownum ORDRE
FROM (
SELECT 'import' c, 'tables-visualisation' p, 'Tables (visualisation)' l FROM dual
UNION SELECT 'import' c, 'tables-edition' p, 'Tables (édition)' l FROM dual
) t1;
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment