1 |
softime |
4205 |
-- |
2 |
|
|
-- START / TI#486 — Ghost Update sur la 3.28.0 pour ajouter l'onglet "Message(s)" |
3 |
|
|
-- |
4 |
|
|
|
5 |
|
|
-- Ajout de la permission de visualiser l'onglet Message(s) |
6 |
|
|
INSERT INTO om_droit (om_droit, libelle, om_profil) |
7 |
|
|
SELECT nextval('om_droit_seq'), 'dossier_message_tab', (SELECT om_profil FROM om_profil WHERE libelle='ADMINISTRATEUR GENERAL') |
8 |
|
|
WHERE |
9 |
|
|
NOT EXISTS ( |
10 |
|
|
SELECT om_droit FROM om_droit WHERE libelle = 'dossier_message_tab' AND om_profil = (SELECT om_profil FROM om_profil WHERE libelle = 'ADMINISTRATEUR GENERAL') |
11 |
|
|
); |
12 |
|
|
|
13 |
|
|
INSERT INTO om_droit (om_droit, libelle, om_profil) |
14 |
|
|
SELECT nextval('om_droit_seq'), 'dossier_message_tab', (SELECT om_profil FROM om_profil WHERE libelle='INSTRUCTEUR POLYVALENT') |
15 |
|
|
WHERE |
16 |
|
|
NOT EXISTS ( |
17 |
|
|
SELECT om_droit FROM om_droit WHERE libelle = 'dossier_message_tab' AND om_profil = (SELECT om_profil FROM om_profil WHERE libelle = 'INSTRUCTEUR POLYVALENT') |
18 |
|
|
); |
19 |
|
|
|
20 |
|
|
INSERT INTO om_droit (om_droit, libelle, om_profil) |
21 |
|
|
SELECT nextval('om_droit_seq'), 'dossier_message_tab', (SELECT om_profil FROM om_profil WHERE libelle='INSTRUCTEUR POLYVALENT COMMUNE') |
22 |
|
|
WHERE |
23 |
|
|
NOT EXISTS ( |
24 |
|
|
SELECT om_droit FROM om_droit WHERE libelle = 'dossier_message_tab' AND om_profil = (SELECT om_profil FROM om_profil WHERE libelle = 'INSTRUCTEUR POLYVALENT COMMUNE') |
25 |
|
|
); |
26 |
|
|
|
27 |
|
|
-- |
28 |
|
|
-- END / TI#486 — Ghost Update sur la 3.28.0 pour ajouter l'onglet "Message(s)" |
29 |
fmichon |
4237 |
-- |
30 |
|
|
|
31 |
|
|
-- |
32 |
|
|
-- Déplacement de app/ vers obj/ - BEGIN |
33 |
|
|
-- |
34 |
|
|
UPDATE om_droit SET libelle = 'consultation_suivi_retours_de_consultation' WHERE libelle = 'suivi_retours_de_consultation'; |
35 |
|
|
UPDATE om_droit SET libelle = 'consultation_suivi_mise_a_jour_des_dates' WHERE libelle = 'demandes_avis_mise_a_jour_des_dates'; |
36 |
|
|
-- |
37 |
|
|
-- Déplacement de app/ vers obj/ - END |
38 |
|
|
-- |
39 |
|
|
|
40 |
nmeucci |
4313 |
-- |
41 |
|
|
-- START / [#8251] Droits insuffisants sur les données techniques depuis la fiche du DA pour le service consulté |
42 |
|
|
-- |
43 |
|
|
|
44 |
|
|
-- Ajout droit de consultation sur les données techniques pour le profil des |
45 |
|
|
-- services consultés externes |
46 |
|
|
INSERT INTO om_droit (om_droit, libelle, om_profil) |
47 |
|
|
SELECT nextval('om_droit_seq'), 'donnees_techniques_consulter', (SELECT om_profil FROM om_profil WHERE libelle='SERVICE CONSULTÉ') |
48 |
|
|
WHERE |
49 |
|
|
NOT EXISTS ( |
50 |
|
|
SELECT om_droit FROM om_droit WHERE libelle = 'donnees_techniques_consulter' AND om_profil = (SELECT om_profil FROM om_profil WHERE libelle = 'SERVICE CONSULTÉ') |
51 |
|
|
); |
52 |
|
|
|
53 |
|
|
-- Ajout droit de consultation sur les données techniques pour le profil des |
54 |
|
|
-- services consultés interne |
55 |
|
|
INSERT INTO om_droit (om_droit, libelle, om_profil) |
56 |
|
|
SELECT nextval('om_droit_seq'), 'donnees_techniques_consulter', (SELECT om_profil FROM om_profil WHERE libelle='SERVICE CONSULTÉ INTERNE') |
57 |
|
|
WHERE |
58 |
|
|
NOT EXISTS ( |
59 |
|
|
SELECT om_droit FROM om_droit WHERE libelle = 'donnees_techniques_consulter' AND om_profil = (SELECT om_profil FROM om_profil WHERE libelle = 'SERVICE CONSULTÉ INTERNE') |
60 |
|
|
); |
61 |
|
|
|
62 |
|
|
-- |
63 |
|
|
-- END / [#8251] Droits insuffisants sur les données techniques depuis la fiche du DA pour le service consulté |
64 |
|
|
-- |