]> source.dussan.org Git - sonarqube.git/blob
4e6496e31e36c6c685e0e79a0585769b467e8153
[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   <user_roles id="3"
79               user_id="201"
80               resource_id="123"
81               role="admin"
82               organization_uuid="org1"/>
83   <user_roles id="4"
84               user_id="201"
85               resource_id="123"
86               role="user"
87               organization_uuid="org1"/>
88
89   <!-- default permission template for all qualifiers -->
90   <permission_templates id="1"
91                         name="default"
92                         kee="default_20130101_010203"
93                         organization_uuid="org1"/>
94
95   <perm_templates_groups id="1"
96                          template_id="1"
97                          group_id="100"
98                          permission_reference="admin"/>
99   <perm_templates_groups id="2"
100                          template_id="1"
101                          group_id="101"
102                          permission_reference="user"/>
103   <perm_templates_groups id="3"
104                          template_id="1"
105                          group_id="[null]"
106                          permission_reference="user"/>
107   <perm_templates_groups id="4"
108                          template_id="1"
109                          group_id="101"
110                          permission_reference="codeviewer"/>
111   <perm_templates_groups id="5"
112                          template_id="1"
113                          group_id="[null]"
114                          permission_reference="codeviewer"/>
115   <perm_templates_groups id="6"
116                          template_id="1"
117                          group_id="100"
118                          permission_reference="issueadmin"/>
119
120   <perm_templates_users id="1"
121                         template_id="1"
122                         user_id="200"
123                         permission_reference="admin"/>
124
125 </dataset>