Only manually added tags are displayed
TymanWasTaken opened this issue · 1 comments
Tags can be added to nodes either by listing them in tagOwners
in the ACL file and then listing them in the tailscale up
command, or by force-adding them through the headscale API/CLI. Most of my nodes use the first method, but I have one node (my phone) that had to use the second method, and in headscale-admin the only tag that shows up is the one on my phone. I assume this is because headscale-admin only checks the forcedTags
key in the API response, rather than also including validTags
, which is where the self-assigned tags are returned in:
Side note: it is also likely a good idea to factor in the invalidTags
key somewhere, maybe with a warning symbol
Great catch and recommendation. Quite a big oversight on my part. Solved with v0.1.9b!