Hello there everyone,
I have a set of relay nodes that I’ve deployed with two tags:
- The actual relay id
engineering
I’ve also created a user group called engineering
and added a few users to it.
I’m trying to write an ACL that would allow all users from that engineering
group to access all routes published by nodes with the engineering
tag.
Here’s what I’ve tried so far:
{
"groups": {
"group:sre": [
"me@example.com",
"someoneelse@example.com"
],
"group:engineering": [
"foo@example.com",
"bar@example.com",
],
},
"acls": [
{
"action": "accept",
"src": ["group:engineering"],
"dst": [
"tag:engineering:*"
]
},
{
"action": "accept",
"src": ["group:sre"],
"dst": [
"*:*",
]
},
],
"tagOwners": {
"tag:dev": ["group:sre"],
"tag:qa": ["group:sre"],
"tag:prod": ["group:sre"],
"tag:engineering": ["group:engineering"]
}
}
Users on the sre group are able to access all the routes, as shown in the ACL, but users on the engineering
group, can’t access nodes tagged with engineering
.
What am I missing here?