]> Git — Sourcephile - haskell/symantic-xml.git/blob - test/Golden/RNC/Commoning/0002.xml
aae8cf7f0e243abddced5f9119adcbce6ccad276
[haskell/symantic-xml.git] / test / Golden / RNC / Commoning / 0002.xml
1 <commoning xmlns="http://commonsoft.org/xml/2018/commoning.rnc">
2 <persons>
3 <person id="julm"/>
4 <person id="john"/>
5 </persons>
6 <groups>
7 <group id="Public">
8 </group>
9 <group id="Assemblée" name="Assemblée Générale">
10 <group id="Infra" name="Infrastructure"/>
11 <group id="Modo" name="Modération"/>
12 </group>
13 </groups>
14 <operations>
15 <operation id="Écrire">
16 <operation id="Lire"/>
17 <operation id="Commenter"/>
18 <operation id="Proposer"/>
19 <operation id="Ajouter"/>
20 <operation id="Modifier"/>
21 <operation id="Supprimer"/>
22 </operation>
23 <operation id="Exécuter"/>
24 <operation id="Support"/>
25 <operation id="Modérer"/>
26 </operations>
27 <opinions>
28 <grades id="Adhésion">
29 <grade abbrev="FC" name="Fortement Contre" color="black"/>
30 <grade abbrev="C" name="Contre" color="red"/>
31 <grade abbrev="PC" name="Plutôt Contre" color="orange"/>
32 <grade abbrev="p" name="Partagé·e" color="#888"/>
33 <grade abbrev="PP" name="Plutôt Pour" color="#FFD700"/>
34 <grade abbrev="P" name="Pour" color="green"/>
35 <grade abbrev="FP" name="Fortement Pour" color="blue"/>
36 </grades>
37 <grades id="Qualité">
38 <grade abbrev="TM" name="Très Mauvais" color="black"/>
39 <grade abbrev="M" name="Mauvais" color="red"/>
40 <grade abbrev="PM" name="Plutôt Mauvais" color="orange"/>
41 <grade abbrev="m" name="Moyen" color="#888"/>
42 <grade abbrev="PB" name="Plutôt Bon" color="#FFD700"/>
43 <grade abbrev="B" name="Bon" color="green"/>
44 <grade abbrev="TB" name="Très Bon" color="blue"/>
45 </grades>
46 <grades id="Règlementation">
47 <grade abbrev="NE-PEUT-PAS" name="Ne peut pas" color="black"/>
48 <grade abbrev="NE-DOIT-PAS" name="Ne doit pas" color="red"/>
49 <grade abbrev="NE-DEVRAIT-PAS" name="Ne devrait pas" color="orange"/>
50 <grade abbrev="NON-RÈGLEMENTÉ" name="Non-règlementé" color="#888"/>
51 <grade abbrev="PEUT" name="Peut" color="#FFD700"/>
52 <grade abbrev="DEVRAIT" name="Devrait" color="green"/>
53 <grade abbrev="DOIT" name="Doit" color="blue"/>
54 </grades>
55 </opinions>
56 <resources>
57 <resource name="Financières">
58 <resource name="Compte courant">
59 <policy operation="Lire" by="Finances">
60 <rule grades="Règlementation" grade="DOIT"/>
61 </policy>
62 <policy operation="Lire" by="Administration">
63 <rule grades="Règlementation" gradeMin="PEUT"/>
64 </policy>
65 </resource>
66 </resource>
67 <resource name="Informatique">
68 <policy operation="Support" by="Infra">
69 <rule grades="Règlementation" grade="DOIT"/>
70 </policy>
71 <resource name="Ordinateurs">
72 </resource>
73 <resource name="Service">
74 <policy operation="AdminSys" by="Infra">
75 <rule grades="Règlementation" grade="DOIT"/>
76 </policy>
77 <policy operation="Modérer" by="Modo">
78 <rule grades="Règlementation" grade="DOIT"/>
79 </policy>
80 <resource name="DNS">
81 <policy operation="Lire" by="Public">
82 <rule grades="Règlementation" grade="PEUT"/>
83 </policy>
84 <resource name="example.coop">
85 </resource>
86 </resource>
87 </resource>
88 <resource name="Logiciels">
89 <policy operation="Lire" by="Public">
90 <rule grades="Règlementation" grade="PEUT"/>
91 </policy>
92 <policy operation="Commenter" by="Public">
93 <rule grades="Règlementation" grade="PEUT"/>
94 </policy>
95 </resource>
96 </resource>
97 </resources>
98 </commoning>