Repository navigation
persmissions files rules for other participant #916
Replies: 1 comment
|
This is expected behavior. A grant for another participant in your permissions file is never used to check that participant. Every participant is judged only by its own permissions document, the one signed by the Permissions CA and loaded through its own What happens at discovery (
participant_1's own file is only used for participant_1. Its local check picks the grant that matches its own certificate subject. So the The trust model is: whoever can sign permissions files with the Permissions CA decides what each participant may do. A participant cannot narrow a peer's rights from its own file. To deny <grant name="ParticipantPermissions">
<subject_name>emailAddress=example@eprosima.com, CN=DomainParticipant_2, O=eProsima, ST=MA, C=ES</subject_name>
...
<allow_rule>
<domains><id_range><min>0</min><max>230</max></id_range></domains>
<subscribe><topics><topic>HelloTopic</topic></topics></subscribe>
</allow_rule>
<default>DENY</default>
</grant>A common layout is one signed permissions file that holds the grants of all participants, given to every participant. Each participant still uses only the grant that matches its own subject, so the result is the same, but you only keep one file. Separately, the second grants in both of your files would not match anyway. They have To check: re-sign participant_2's file with only |
Uh oh!
There was an error while loading. Please reload this page.
Dear Fast DDS Team,
I don't understand a configuration in Access control plug-in : DomainParticipant Permissions Document.
The rules specified in the second part of the files, concerning other participant does not seems to apply.
Example of configurations :
Publisher :
Subscriber :
The configuration of participant_1 should allow participant_2 to subscribe to HelloTopic but not to GoodByeTopic because the default is DENY.
The participant_2 configuration is in volunteer conflict allowing participant_2 to subscribe to all topics..
In this configuration, participant_2 can access GoodByeTopic.
I would have prefer to get a security log on participant_1.
It is certainly a misunderstanding on my part, Could you be more specific about this?
All reactions