You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a tag is applied or removed from node, ACL is not applied for the node based on tags until headscale service is restarted
Expected Behavior
When tag is applied or removed from nodes the changes should be reflected on user's account that has access to tag through ACL.
If user has access to the tag and the tag is removed from node then user should no longer have access to the node without restarting headscale service
And if user has access to the tag and the tag is added to the node then user should gain access to the node without restarting headscale service
Then I applied tag:shared to one of the node owned by user1 with headscale nodes tag --tags tag:shared -i 1 and shows up in headscale nodes list -o json as:
The device does not show up for user2 in Tailscale client. Restarting headscale service makes ACL work as expected and USER1-DT appears on user2's list.
Same issue can be noticed when tag is removed from USER1-DT, user2 continues to get access to the device until headscale service is restarted
Is this a support request?
Is there an existing issue for this?
Current Behavior
When a tag is applied or removed from node, ACL is not applied for the node based on tags until headscale service is restarted
Expected Behavior
When tag is applied or removed from nodes the changes should be reflected on user's account that has access to tag through ACL.
If user has access to the tag and the tag is removed from node then user should no longer have access to the node without restarting headscale service
And if user has access to the tag and the tag is added to the node then user should gain access to the node without restarting headscale service
Steps To Reproduce
I have a
tag:shared
tag in ACL as follows:Then I applied
tag:shared
to one of the node owned byuser1
withheadscale nodes tag --tags tag:shared -i 1
and shows up inheadscale nodes list -o json
as:The device does not show up for user2 in Tailscale client. Restarting headscale service makes ACL work as expected and
USER1-DT
appears onuser2
's list.Same issue can be noticed when tag is removed from
USER1-DT
,user2
continues to get access to the device until headscale service is restartedEnvironment
Runtime environment
Anything else?
Let me know if any additional info is required
The text was updated successfully, but these errors were encountered: