Skip to content

Commit

Permalink
Docs/ACLs: Namespaces are created automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
reynico committed Mar 17, 2022
1 parent b9f0fab commit 8b08c2a
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions docs/acls.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,10 @@ servers.

## Setup of the network

Let's create the namespaces. Each user should have his own namespace. The users
here are represented as namespaces.

```bash
headscale namespaces create boss
headscale namespaces create admin1
headscale namespaces create dev1
headscale namespaces create dev2
headscale namespaces create intern1
```
Namespaces will be created automatically when users authenticate with the
Headscale server.

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
When registering the servers we will need to add the flag
`--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
a server they can register, the check of the tags is done on headscale server
Expand Down

0 comments on commit 8b08c2a

Please sign in to comment.