]> Git — Sourcephile - haskell/symantic-xml.git/blob - test/Golden/RNC/Commoning/0001.xml
eb7a28370f8391015c9624c949dc0c7e80618744
[haskell/symantic-xml.git] / test / Golden / RNC / Commoning / 0001.xml
1 <commoning xmlns="http://commonsoft.org/xml/2018/commoning.rnc">
2 <persons>
3 <person id="julm"/>
4 </persons>
5 <groups>
6 <group id="Public">
7 </group>
8 </groups>
9 <operations>
10 <operation id="Écrire">
11 <operation id="Lire"/>
12 </operation>
13 </operations>
14 <opinions>
15 <grades id="Règlementation">
16 <grade abbrev="NE-PEUT-PAS" name="Ne peut pas" color="black"/>
17 <grade abbrev="NE-DOIT-PAS" name="Ne doit pas" color="red"/>
18 <grade abbrev="NE-DEVRAIT-PAS" name="Ne devrait pas" color="orange"/>
19 <grade abbrev="NON-RÈGLEMENTÉ" name="Non-règlementé" color="#888"/>
20 <grade abbrev="PEUT" name="Peut" color="#FFD700"/>
21 <grade abbrev="DEVRAIT" name="Devrait" color="green"/>
22 <grade abbrev="DOIT" name="Doit" color="blue"/>
23 </grades>
24 </opinions>
25 <resources>
26 <resource name="Financières">
27 <resource name="Compte courant">
28 <policy operation="Lire" by="Finances">
29 <rule grades="Règlementation" grade="DOIT"/>
30 </policy>
31 <policy operation="Lire" by="Administration">
32 <rule grades="Règlementation" gradeMin="PEUT"/>
33 </policy>
34 </resource>
35 </resource>
36 </resources>
37 </commoning>