ros-swg / turtlebot3_demo

Repository to build and test Turtlebot3 packages
Apache License 2.0
20 stars 6 forks source link

WIP generating policies from rtirecordingservice generated db #4

Open mikaelarguedas opened 5 years ago

mikaelarguedas commented 5 years ago

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