3 <groups id="100" name="sonar-administrators" />
4 <groups id="101" name="sonar-users" />
6 <users id="200" login="marius" name="Marius" email="[null]" active="[true]" />
8 <!-- on other resources -->
9 <group_roles id="1" group_id="100" resource_id="1" role="admin"/>
10 <group_roles id="2" group_id="101" resource_id="1" role="user"/>
11 <user_roles id="1" user_id="200" resource_id="1" role="admin"/>
13 <!-- new groups permissions : sonar-administrators (admin), sonar-users (user & codeviewer), Anyone (user & codeviewer) -->
14 <group_roles id="3" group_id="100" resource_id="123" role="admin"/>
15 <group_roles id="4" group_id="101" resource_id="123" role="user"/>
16 <group_roles id="5" group_id="[null]" resource_id="123" role="user"/>
17 <group_roles id="6" group_id="101" resource_id="123" role="codeviewer"/>
18 <group_roles id="7" group_id="[null]" resource_id="123" role="codeviewer"/>
20 <!-- new user permission : marius (admin) -->
21 <user_roles id="2" user_id="200" resource_id="123" role="admin"/>
23 <!-- default permission template for all qualifiers -->
24 <permission_templates id="1" name="default"/>
26 <perm_templates_groups id="1" template_id="1" group_id="100" permission_reference="admin"/>
27 <perm_templates_groups id="2" template_id="1" group_id="101" permission_reference="user"/>
28 <perm_templates_groups id="3" template_id="1" group_id="[null]" permission_reference="user"/>
29 <perm_templates_groups id="4" template_id="1" group_id="101" permission_reference="codeviewer"/>
30 <perm_templates_groups id="5" template_id="1" group_id="[null]" permission_reference="codeviewer"/>
32 <perm_templates_users id="1" template_id="1" user_id="200" permission_reference="admin"/>