3 <projects id="1" uuid="ABC" project_uuid="ABC" module_uuid="[null]" module_uuid_path="."
4 root_id="[null]" scope="PRJ" qualifier="TRK" kee="org.struts:struts" name="Struts"
5 description="the description" long_name="Apache Struts"
6 enabled="[true]" language="java" copy_resource_id="[null]" person_id="[null]" path="[null]"
7 authorization_updated_at="1000000000"/>
9 <projects id="2" uuid="DEF" project_uuid="DEF" module_uuid="[null]" module_uuid_path="."
10 root_id="[null]" scope="PRJ" qualifier="TRK" kee="org.sonar.sample" name="Sample"
11 description="the description" long_name="Sample"
12 enabled="[true]" language="java" copy_resource_id="[null]" person_id="[null]" path="[null]"
13 authorization_updated_at="2000000000"/>
15 <!-- user1 can access both projects -->
16 <users id="10" login="user1" name="User 1" email="user1@company.net" active="[true]"/>
17 <user_roles id="1" user_id="10" resource_id="1" role="user"/>
18 <user_roles id="2" user_id="10" resource_id="1" role="admin"/>
19 <user_roles id="3" user_id="10" resource_id="2" role="user"/>
21 <!-- group devs has user access on ABC only -->
22 <groups id="100" name="devs"/>
23 <group_roles id="1" group_id="100" resource_id="1" role="user"/>
24 <group_roles id="2" group_id="100" resource_id="1" role="admin"/>
26 <!-- Anyone group has user access on both projects -->
27 <group_roles id="4" group_id="[null]" resource_id="1" role="user"/>
28 <group_roles id="5" group_id="[null]" resource_id="1" role="admin"/>
29 <group_roles id="6" group_id="[null]" resource_id="2" role="user"/>
31 <!-- user2 has user access on DEF only -->
32 <users id="11" login="user2" name="User 2" email="user2@company.net" active="[true]" />
33 <user_roles id="4" user_id="11" resource_id="1" role="admin"/>
34 <user_roles id="5" user_id="11" resource_id="2" role="user"/>