-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathPermissionsTester.xml
88 lines (86 loc) · 3.07 KB
/
PermissionsTester.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="utf-8"?>
<!-->PERMISSIONS_EXAMPLE<-->
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.omg.org/spec/DDS-Security/20170801/omg_shared_ca_permissions.xsd">
<permissions>
<grant name="ParticipantPermissions">
<subject_name>[email protected], CN=DomainParticipantName, O=eProsima, ST=MA, C=ES</subject_name>
<validity>
<not_before>2013-06-01T13:00:00</not_before>
<not_after>2038-06-01T13:00:00</not_after>
</validity>
<allow_rule>
<domains>
<id_range>
<min>0</min>
<max>230</max>
</id_range>
</domains>
<publish>
<topics>
<topic>HelloWorldTopic</topic>
</topics>
</publish>
</allow_rule>
<default>DENY</default>
</grant>
<!-- Fill the subject name with the information specified in the Participant certificate -->
<grant name="OtherParticipantPermissions">
<subject_name> [email protected], CN=xxx, OU=x, O=x, ST=XX, C=XX</subject_name>
<validity>
<not_before>2013-06-01T13:00:00</not_before>
<not_after>2038-06-01T13:00:00</not_after>
</validity>
<allow_rule>
<domains>
<id_range>
<min>0</min>
<max>230</max>
</id_range>
</domains>
<subscribe>
<topics>
<topic>HelloWorldTopic</topic>
</topics>
</subscribe>
</allow_rule>
<default>DENY</default>
</grant>
</permissions>
</dds>
<!--><-->
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.omg.org/spec/DDS-Security/20170801/omg_shared_ca_permissions.xsd">
<permissions>
<grant name="ParticipantPermissions">
<subject_name>[email protected], CN=DomainParticipantName, O=eProsima, ST=MA, C=ES</subject_name>
<validity>
<not_before>2013-06-01T13:00:00</not_before>
<not_after>2038-06-01T13:00:00</not_after>
</validity>
<allow_rule>
<domains>
<id_range>
<min>0</min>
<max>230</max>
</id_range>
</domains>
<publish>
<!-->PERMISSIONS_TOPIC_CONDITION<-->
<topics>
<topic>Plane</topic>
<topic>Hel*</topic>
</topics>
<!--><-->
<!-->PERMISSIONS_PARTITION_CONDITION<-->
<partitions>
<partition>A</partition>
<partition>B*</partition>
</partitions>
<!--><-->
</publish>
</allow_rule>
<default>DENY</default>
</grant>
</permissions>
</dds>