Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP generating policies from rtirecordingservice generated db #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mikaelarguedas
Copy link
Collaborator

@mikaelarguedas mikaelarguedas commented Aug 4, 2019

This is a sandbox branch for @ruffsl and myself to experiment better ways of generating policies

Signed-off-by: Mikael Arguedas [email protected]

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

@mikaelarguedas mikaelarguedas force-pushed the policy_from_discovery_data branch from 1521cbd to 857e1c6 Compare August 5, 2019 19:54
Signed-off-by: Mikael Arguedas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant