This is currently dumping a policy file with just the full DDS names. This will not work directly as the policy format expects the topics to be ROS topics and not DDS topics with ROS prefixes already applied
Another case that will not work (though I dont think it should) is the case of ephemeral / anonymous nodes. Creating nodes with a random / changing suffix will not be covered by this or ros2 security generate_policy. For this demo I worked around it by specifying by hand a radical of the node name and using the "MATCH_PREFIX" lookup strategy
This is a sandbox branch for @ruffsl and myself to experiment better ways of generating policies
Signed-off-by: Mikael Arguedas mikael.arguedas@gmail.com
This is currently dumping a policy file with just the full DDS names. This will not work directly as the policy format expects the topics to be ROS topics and not DDS topics with ROS prefixes already applied
Another case that will not work (though I dont think it should) is the case of ephemeral / anonymous nodes. Creating nodes with a random / changing suffix will not be covered by this or
ros2 security generate_policy
. For this demo I worked around it by specifying by hand a radical of the node name and using the "MATCH_PREFIX" lookup strategy