/[openfoncier]/trunk/data/pgsql/init_parametrage_permissions.sql
ViewVC logotype

Annotation of /trunk/data/pgsql/init_parametrage_permissions.sql

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1844 - (hide annotations)
Mon May 6 14:04:34 2013 UTC (11 years, 9 months ago) by fmichon
File size: 8995 byte(s)
Mise à jour des fichiers init*.sql pour la release de la version 3.4.0-a1

1 fmichon 1801 --------------------------------------------------------------------------------
2     -- Paramétrage - Initialisation des permissions
3     --
4 fmichon 1844 -- pg_dump -a -t openads.om_droit openads > /tmp/init_parametrage_permissions.sql
5 fmichon 1801 --
6     -- @package openfoncier
7     -- @version SVN : $Id$
8     --------------------------------------------------------------------------------
9    
10     ---
11     --- PERMISSIONS - ADMINISTRATEUR
12     ---
13    
14     insert into om_droit(om_droit, libelle, om_profil) values
15    
16     (nextval('om_droit_seq'), 'menu_administration', 2),
17    
18     (nextval('om_droit_seq'), 'om_collectivite', 2),
19     (nextval('om_droit_seq'), 'om_parametre', 2),
20     (nextval('om_droit_seq'), 'om_profil', 2),
21     (nextval('om_droit_seq'), 'om_droit', 2),
22     (nextval('om_droit_seq'), 'om_utilisateur', 2),
23     (nextval('om_droit_seq'), 'directory', 2),
24    
25     (nextval('om_droit_seq'), 'menu_parametrage', 2),
26    
27     (nextval('om_droit_seq'), 'etat_dossier_autorisation', 2),
28     (nextval('om_droit_seq'), 'arrondissement', 2),
29     (nextval('om_droit_seq'), 'quartier', 2),
30     (nextval('om_droit_seq'), 'affectation_automatique', 2),
31     (nextval('om_droit_seq'), 'service', 2),
32     (nextval('om_droit_seq'), 'service_categorie', 2),
33     (nextval('om_droit_seq'), 'demande_nature', 2),
34     (nextval('om_droit_seq'), 'demande_type', 2),
35     (nextval('om_droit_seq'), 'instructeur', 2),
36     (nextval('om_droit_seq'), 'groupe', 2),
37     (nextval('om_droit_seq'), 'genre', 2),
38     (nextval('om_droit_seq'), 'division', 2),
39     (nextval('om_droit_seq'), 'direction', 2),
40     (nextval('om_droit_seq'), 'dossier_autorisation_type', 2),
41     (nextval('om_droit_seq'), 'dossier_autorisation_type_detaille', 2),
42     (nextval('om_droit_seq'), 'dossier_instruction_type', 2),
43     (nextval('om_droit_seq'), 'om_etat', 2),
44     (nextval('om_droit_seq'), 'om_sousetat', 2),
45     (nextval('om_droit_seq'), 'om_lettretype', 2),
46     (nextval('om_droit_seq'), 'lien_service_service_categorie', 2),
47     (nextval('om_droit_seq'), 'lien_service_om_utilisateur', 2),
48     (nextval('om_droit_seq'), 'avis_consultation', 2),
49     (nextval('om_droit_seq'), 'autorite_competente', 2),
50     (nextval('om_droit_seq'), 'demande_modifier', 2),
51     (nextval('om_droit_seq'), 'demande_supprimer', 2),
52     (nextval('om_droit_seq'), 'rapport_instruction_supprimer', 2),
53     (nextval('om_droit_seq'), 'rapport_instruction_edition', 2),
54     (nextval('om_droit_seq'), 'suivi_bordereaux', 2),
55     (nextval('om_droit_seq'), 'signataire_arrete', 2),
56     (nextval('om_droit_seq'), 'donnees_techniques_supprimer', 2),
57     (nextval('om_droit_seq'), 'menu_autorisation', 2),
58     (nextval('om_droit_seq'), 'dossier_autorisation_tab', 2),
59     (nextval('om_droit_seq'), 'dossier_autorisation_consulter', 2),
60     (nextval('om_droit_seq'), 'petitionnaire_frequent_tab', 2),
61     (nextval('om_droit_seq'), 'petitionnaire_frequent_consulter', 2),
62     (nextval('om_droit_seq'), 'petitionnaire_frequent_modifier_frequent', 2)
63    
64     ;
65    
66    
67     ---
68     --- PERMISSIONS - INSTRUCTEUR
69     ---
70    
71     insert into om_droit(om_droit, libelle, om_profil) values
72    
73     (nextval('om_droit_seq'), 'menu_instruction', 3),
74    
75     (nextval('om_droit_seq'), 'dossier_instruction_mes_encours_tab', 3),
76     (nextval('om_droit_seq'), 'dossier_instruction_mes_encours_modifier', 3),
77     (nextval('om_droit_seq'), 'dossier_instruction_mes_encours_consulter', 3),
78     (nextval('om_droit_seq'), 'dossier_instruction_tous_encours_tab', 3),
79     (nextval('om_droit_seq'), 'dossier_instruction_tous_encours_modifier', 3),
80     (nextval('om_droit_seq'), 'dossier_instruction_tous_encours_consulter', 3),
81     (nextval('om_droit_seq'), 'dossier_instruction_mes_clotures_tab', 3),
82     (nextval('om_droit_seq'), 'dossier_instruction_mes_clotures_modifier', 3),
83     (nextval('om_droit_seq'), 'dossier_instruction_mes_clotures_consulter', 3),
84     (nextval('om_droit_seq'), 'dossier_instruction_tous_clotures_tab', 3),
85     (nextval('om_droit_seq'), 'dossier_instruction_tous_clotures_modifier', 3),
86     (nextval('om_droit_seq'), 'dossier_instruction_tous_clotures_consulter', 3),
87     (nextval('om_droit_seq'), 'dossier_instruction_tab', 3),
88     (nextval('om_droit_seq'), 'dossier_instruction_modifier', 3),
89     (nextval('om_droit_seq'), 'dossier_instruction_consulter', 3),
90    
91     (nextval('om_droit_seq'), 'messages_mes_retours', 3),
92     (nextval('om_droit_seq'), 'messages_tous_retours', 3),
93    
94     (nextval('om_droit_seq'), 'dossier_message_consulter', 3),
95     (nextval('om_droit_seq'), 'dossier_message_modifier_lu', 3),
96     (nextval('om_droit_seq'), 'dossier_message_tab', 3),
97    
98     (nextval('om_droit_seq'), 'commission_mes_retours', 3),
99     (nextval('om_droit_seq'), 'commission_tous_retours', 3),
100     (nextval('om_droit_seq'), 'dossier_commission', 3),
101     (nextval('om_droit_seq'), 'dossier_commission_modifier_lu', 3),
102    
103     (nextval('om_droit_seq'), 'instruction_tab', 3),
104     (nextval('om_droit_seq'), 'instruction_ajouter', 3),
105     (nextval('om_droit_seq'), 'instruction_modifier', 3),
106     (nextval('om_droit_seq'), 'instruction_consulter', 3),
107    
108     (nextval('om_droit_seq'), 'blocnote', 3),
109    
110     (nextval('om_droit_seq'), 'consultation', 3),
111     (nextval('om_droit_seq'), 'consultation_ajouter', 3),
112     (nextval('om_droit_seq'), 'consultation_mes_retours', 3),
113     (nextval('om_droit_seq'), 'consultation_tous_retours', 3),
114     (nextval('om_droit_seq'), 'consultation_modifier_lu', 3),
115     (nextval('om_droit_seq'), 'consultation_modifier_date_reception', 3),
116     (nextval('om_droit_seq'), 'consultation_consulter_autre_que_retour_avis', 3),
117    
118     (nextval('om_droit_seq'), 'rapport_instruction', 3),
119     (nextval('om_droit_seq'), 'rapport_instruction_rediger', 3),
120     (nextval('om_droit_seq'), 'dossiers_limites', 3),
121     (nextval('om_droit_seq'), 'dossiers_limites_tab', 3),
122     (nextval('om_droit_seq'), 'recherche_direct', 3),
123     (nextval('om_droit_seq'), 'recherche_direct_tab', 3),
124     (nextval('om_droit_seq'), 'dossiers_evenement_incomplet_majoration', 3),
125     (nextval('om_droit_seq'), 'rapport_instruction_edition', 3),
126     (nextval('om_droit_seq'), 'lot', 3),
127     (nextval('om_droit_seq'), 'lot_transferer', 3),
128     (nextval('om_droit_seq'), 'donnees_techniques', 3),
129     (nextval('om_droit_seq'), 'dossier_qualifier', 3),
130     (nextval('om_droit_seq'), 'dossier_qualifier_tab', 3),
131     (nextval('om_droit_seq'), 'menu_autorisation', 3),
132     (nextval('om_droit_seq'), 'dossier_autorisation', 3),
133     (nextval('om_droit_seq'), 'dossier_autorisation_tab', 3),
134     (nextval('om_droit_seq'), 'dossier_autorisation_consulter', 3),
135     (nextval('om_droit_seq'), 'demandeur', 3),
136     (nextval('om_droit_seq'), 'petitionnaire', 3),
137     (nextval('om_droit_seq'), 'delegataire', 3)
138    
139     ;
140    
141    
142     ---
143     --- PERMISSIONS - SERVICE CONSULTE
144     ---
145    
146     insert into om_droit(om_droit, libelle, om_profil) values
147    
148     (nextval('om_droit_seq'), 'menu_demande_avis', 4),
149    
150     (nextval('om_droit_seq'), 'demande_avis_encours', 4),
151     (nextval('om_droit_seq'), 'demande_avis_passee', 4),
152    
153     (nextval('om_droit_seq'), 'demande_avis_encours_exporter', 4),
154     (nextval('om_droit_seq'), 'demande_avis_passee_exporter', 4),
155    
156     (nextval('om_droit_seq'), 'consultation_retour_avis_service', 4),
157     (nextval('om_droit_seq'), 'consultation_modifier', 4),
158     (nextval('om_droit_seq'), 'dossier_document', 4)
159    
160     ;
161    
162    
163     ---
164     --- PERMISSIONS - CELLULE SUIVI
165     ---
166    
167     insert into om_droit(om_droit, libelle, om_profil) values
168    
169     (nextval('om_droit_seq'), 'menu_autorisation', 5),
170    
171     (nextval('om_droit_seq'), 'dossier_autorisation_tab', 5),
172     (nextval('om_droit_seq'), 'dossier_autorisation_consulter', 5),
173     (nextval('om_droit_seq'), 'donnees_techniques', 5),
174    
175     (nextval('om_droit_seq'), 'menu_suivi', 5),
176    
177     (nextval('om_droit_seq'), 'consultation_ajouter', 5),
178     (nextval('om_droit_seq'), 'consultation_modifier', 5),
179     (nextval('om_droit_seq'), 'consultation_consulter', 5),
180     (nextval('om_droit_seq'), 'consultation_consulter_autre_que_retour_avis', 5),
181    
182     (nextval('om_droit_seq'), 'suivi_retours_de_consultation', 5),
183    
184     (nextval('om_droit_seq'), 'suivi_mise_a_jour_des_dates', 5),
185    
186     (nextval('om_droit_seq'), 'suivi_envoi_lettre_rar', 5),
187    
188     (nextval('om_droit_seq'), 'suivi_bordereaux', 5),
189    
190     (nextval('om_droit_seq'), 'commission', 5),
191     (nextval('om_droit_seq'), 'dossier_commission', 5),
192     (nextval('om_droit_seq'), 'commission_demandes_passage', 5),
193     (nextval('om_droit_seq'), 'commission_demandes_passage_tab', 5),
194     (nextval('om_droit_seq'), 'commission_type_consulter', 5)
195    
196     ;
197    
198    
199     ---
200     --- PERMISSIONS - GUICHET UNIQUE
201     ---
202    
203     insert into om_droit(om_droit, libelle, om_profil) values
204    
205     (nextval('om_droit_seq'), 'menu_autorisation', 6),
206    
207     (nextval('om_droit_seq'), 'dossier_autorisation_tab', 6),
208     (nextval('om_droit_seq'), 'dossier_autorisation_consulter', 6),
209     (nextval('om_droit_seq'), 'donnees_techniques_consulter', 6),
210    
211     (nextval('om_droit_seq'), 'menu_guichet_unique', 6),
212    
213     (nextval('om_droit_seq'), 'demande_nouveau_dossier_ajouter', 6),
214     (nextval('om_droit_seq'), 'demande_dossier_existant_tab', 6),
215     (nextval('om_droit_seq'), 'demande_dossier_existant_ajouter', 6),
216    
217     (nextval('om_droit_seq'), 'demandeur', 6),
218     (nextval('om_droit_seq'), 'petitionnaire', 6),
219     (nextval('om_droit_seq'), 'delegataire', 6),
220    
221     (nextval('om_droit_seq'), 'demande_tab', 6),
222     (nextval('om_droit_seq'), 'demande_consulter', 6),
223    
224     (nextval('om_droit_seq'), 'affichage_reglementaire_registre', 6),
225     (nextval('om_droit_seq'), 'affichage_reglementaire_attestation', 6),
226    
227     (nextval('om_droit_seq'), 'petitionnaire_frequent_tab', 6),
228     (nextval('om_droit_seq'), 'petitionnaire_frequent_consulter', 6)
229    
230     ;

Properties

Name Value
svn:keywords Id

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26