mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	Docs/ACLs: Namespaces are created automatically
This commit is contained in:
		
							parent
							
								
									b9f0fabb5c
								
							
						
					
					
						commit
						8b08c2a918
					
				
							
								
								
									
										15
									
								
								docs/acls.md
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								docs/acls.md
									
									
									
									
									
								
							| @ -26,19 +26,10 @@ servers. | |||||||
| 
 | 
 | ||||||
| ## Setup of the network | ## Setup of the network | ||||||
| 
 | 
 | ||||||
| Let's create the namespaces. Each user should have his own namespace. The users | Namespaces will be created automatically when users authenticate with the  | ||||||
| here are represented as namespaces. | Headscale server. | ||||||
| 
 | 
 | ||||||
| ```bash | When registering the servers we will need to add the flag | ||||||
| headscale namespaces create boss |  | ||||||
| headscale namespaces create admin1 |  | ||||||
| headscale namespaces create dev1 |  | ||||||
| headscale namespaces create dev2 |  | ||||||
| headscale namespaces create intern1 |  | ||||||
| ``` |  | ||||||
| 
 |  | ||||||
| We don't need to create namespaces for the servers because the servers will be |  | ||||||
| tagged. When registering the servers we will need to add the flag |  | ||||||
| `--advertised-tags=tag:<tag1>,tag:<tag2>`, and the user (namespace) that is | `--advertised-tags=tag:<tag1>,tag:<tag2>`, and the user (namespace) that is | ||||||
| registering the server should be allowed to do it. Since anyone can add tags to | registering the server should be allowed to do it. Since anyone can add tags to | ||||||
| a server they can register, the check of the tags is done on headscale server | a server they can register, the check of the tags is done on headscale server | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user