]> source.dussan.org Git - sonarqube.git/blob
c0a3eef5b842cb3717667cbfa04c33c14102afea
[sonarqube.git] /
1 <dataset>
2
3   <groups id="100"
4           name="sonar-administrators"
5           organization_uuid="org1"/>
6   <groups id="101"
7           name="sonar-users"
8           organization_uuid="org1"/>
9
10   <users id="200"
11          login="marius"
12          name="Marius"
13          email="[null]"
14          active="[true]"
15          is_root="[false]"/>
16   <users id="201"
17          login="janette"
18          name="Janette"
19          email="[null]"
20          active="[true]"
21          is_root="[false]"/>
22
23   <!-- on other resources -->
24   <group_roles id="1"
25                group_id="100"
26                resource_id="1"
27                role="admin"
28                organization_uuid="org1"/>
29   <group_roles id="2"
30                group_id="101"
31                resource_id="1"
32                role="user"
33                organization_uuid="org1"/>
34   <user_roles id="1"
35               user_id="200"
36               resource_id="1"
37               role="admin"
38               organization_uuid="org1"/>
39
40   <!-- new groups permissions : sonar-administrators (admin), sonar-users (user & codeviewer), Anyone (user & codeviewer) -->
41   <group_roles id="3"
42                group_id="100"
43                resource_id="123"
44                role="admin"
45                organization_uuid="org1"/>
46   <group_roles id="4"
47                group_id="101"
48                resource_id="123"
49                role="user"
50                organization_uuid="org1"/>
51   <group_roles id="5"
52                group_id="[null]"
53                resource_id="123"
54                role="user"
55                organization_uuid="org1"/>
56   <group_roles id="6"
57                group_id="101"
58                resource_id="123"
59                role="codeviewer"
60                organization_uuid="org1"/>
61   <group_roles id="7"
62                group_id="[null]"
63                resource_id="123"
64                role="codeviewer"
65                organization_uuid="org1"/>
66   <group_roles id="8"
67                group_id="100"
68                resource_id="123"
69                role="issueadmin"
70                organization_uuid="org1"/>
71
72   <!-- new user permission : marius (admin) & janette (user) -->
73   <user_roles id="2"
74               user_id="200"
75               resource_id="123"
76               role="admin"
77               organization_uuid="org1"/>
78
79   <!-- default permission template for all qualifiers -->
80   <permission_templates id="1"
81                         name="default"
82                         kee="default_20130101_010203"
83                         organization_uuid="org1"/>
84
85   <perm_templates_groups id="1"
86                          template_id="1"
87                          group_id="100"
88                          permission_reference="admin"/>
89   <perm_templates_groups id="2"
90                          template_id="1"
91                          group_id="101"
92                          permission_reference="user"/>
93   <perm_templates_groups id="3"
94                          template_id="1"
95                          group_id="[null]"
96                          permission_reference="user"/>
97   <perm_templates_groups id="4"
98                          template_id="1"
99                          group_id="101"
100                          permission_reference="codeviewer"/>
101   <perm_templates_groups id="5"
102                          template_id="1"
103                          group_id="[null]"
104                          permission_reference="codeviewer"/>
105   <perm_templates_groups id="6"
106                          template_id="1"
107                          group_id="100"
108                          permission_reference="issueadmin"/>
109
110   <perm_templates_users id="1"
111                         template_id="1"
112                         user_id="200"
113                         permission_reference="admin"/>
114
115 </dataset>