mirror of
https://github.com/juanfont/headscale.git
synced 2026-01-11 20:00:28 +01:00
policy: clarify usernam resolve comment
Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
This commit is contained in:
@@ -204,7 +204,7 @@ func (u Username) Resolve(_ *Policy, users types.Users, nodes views.Slice[types.
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, node := range nodes.All() {
|
for _, node := range nodes.All() {
|
||||||
// Skip tagged nodes
|
// Skip tagged nodes - they are identified by tags, not users
|
||||||
if node.IsTagged() {
|
if node.IsTagged() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user