mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-30 02:43:05 +00:00
docs: add small documentation on getTags func
This commit is contained in:
parent
b511295349
commit
ca71830963
1 changed files with 2 additions and 0 deletions
|
@ -658,6 +658,8 @@ func (machine *Machine) toProto() *v1.Machine {
|
||||||
}
|
}
|
||||||
|
|
||||||
// getTags will return the tags of the current machine.
|
// getTags will return the tags of the current machine.
|
||||||
|
// Invalid tags are tags added by a user on a node, and that user doesn't have authority to add this tag.
|
||||||
|
// Valid tags are tags added by a user that is allowed in the ACL policy to add this tag.
|
||||||
func getTags(
|
func getTags(
|
||||||
aclPolicy *ACLPolicy,
|
aclPolicy *ACLPolicy,
|
||||||
machine Machine,
|
machine Machine,
|
||||||
|
|
Loading…
Reference in a new issue