-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from ros2/access_control
Access control
- Loading branch information
Showing
3 changed files
with
168 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
nodes: | ||
listener: | ||
topics: | ||
chatter: | ||
allow: s # can subscribe to chatter | ||
parameter_events: | ||
allow: p # can publish on parameter_events | ||
talker: | ||
topics: | ||
chatter: | ||
allow: p # allow secure_publisher to publish onto chatter | ||
parameter_events: | ||
allow: p # can publish | ||
listener_py: | ||
topics: | ||
#'*': | ||
# allow: s # this would allow the listener to subscribe to all topics | ||
chatter: | ||
allow: s # can subscribe to chatter | ||
chatter2: | ||
allow: s # can subscribe to chatter2 | ||
talker_py: | ||
topics: | ||
#'*': | ||
# allow: p # this would allow the talker to publish on all topics | ||
chatter: | ||
allow: p # allow publishing on chatter | ||
chatter2: | ||
allow: p # allow publishing on chatter2 | ||
chatter3: | ||
allow: p # allow publishing on chatter3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters