-
Notifications
You must be signed in to change notification settings - Fork 47
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
[Issue 79] Fix permissions tutorial #81
Conversation
**Summary** * SROS2 assumed services were included in the policy yaml file * Format errors in the sample_policy prevented yaml parse
@ruffsl Should this change be required prior to pushing your xml changes we can use this, otherwise I will close this PR. |
Thanks @ross-desmond ! In order to get the tutorial working we would also need:
As #72 seems pretty close to being merged I agree that it may not be worth the effort updating the to-be-deprecated yaml format 👍 |
I think it is worth doing this as part of this PR to incorporate as part of the next Crystal patch release. @ross-desmond @mikaelarguedas What do you think? |
The conversation from #72 (comment) makes it sound like it's targeted to be released in the next Crystal patch release |
I may be mistaken, but I don't think it is explicitly targeted for Crystal, but could be considered. My reservation regarding adding #72 to Crystal is that security will break for users of the previous YAML format. It seems like a significant enough change that releasing it into Dashing would be more appropriate. |
@mikaelarguedas the "default" topics are still automatically added by sros2 if they are not in the policy file. A dictionary de-duplicates these if they are are in the policy file :). This means that all that is left to do is update the file URL. @jacobperron if that is the case I will go ahead and update the file URL and LGTM |
@ross-desmond Since #72 has been merged. I've updated this PR to point to |
Right I missed that with the
TBH I did not follow the PR closely, some comments made me think this was aiming for the patch release: ros2/ros2#647 (comment) and #72 (comment) but I didnt look in details. I understand the aim for avoiding making breaking changes within a distro 👍. As a user, I don't have a strong preference as I'll have to update my policy files in both cases:
Maybe @nuclearsandwich @mjcarroll @ruffsl have some preference on the way to go |
I'm in favor of backporting the xml features into crystal, given the yaml defaults are missing support for required topics such as I've been keeping an eye out for early adopters of the sros features, but have only found Apex using it for performance_test with security enabled, and fastrtps folks when debugging interoperability. https://discourse.ros.org/t/ros2-security-performance-tests/6718 |
I'm in favor of backporting the new XML features, because as @mikaelarguedas said, there are likely going to be profile updates that have to happen either way. I've been slow getting @ruffsl's PR in, but we were going to attempt to get it in as early as the first Crystal patch release. |
@ruffsl I'm happy with either, the sooner the XML features get in, the sooner we can add more features to that code base. |
Good point, I overlooked that this already happened. Sounds like there is consensus in backporting the XML features 👍 |
Replaced by #93 |
Summary
SROS2 is moving to xml, if a fix is required in the yaml version, here it is.
Resolves #79