mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	docs: add small documentation on getTags func
This commit is contained in:
		
							parent
							
								
									b511295349
								
							
						
					
					
						commit
						ca71830963
					
				@ -658,6 +658,8 @@ func (machine *Machine) toProto() *v1.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(
 | 
			
		||||
	aclPolicy *ACLPolicy,
 | 
			
		||||
	machine Machine,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user