I have a couple of users:
root@headscale:~# headscale users list
ID | Name | Username | Email | Created
1 | | john| | 2025-06-25 14:36:43
2 | | hannah | | 2025-08-06 22:01:26
When I set ACLs 'per user', I am forced to add an '@' after the username (i.e. john@), otherwise I cannot save the configuration.
"acls": [
{
"#ha-meta": {
"name": "PolicyForJack",
"open": true
},
"action": "accept",
"src": [
"john@"
],
"dst": [
"*:*"
]
},
...
The UI does not act as such, and it just inserts 'john'. This forces me to edit the config manually and correct the issue before saving.
Expected Behavior
Either the UI should automatically add an '@' to the username, or usernames without '@' should be allowed.
###Environment
- OS: Ubuntu 24.04
- Headscale version: 0.26.1
- Headscale-Admin: latest (docker)
I have a couple of users:
When I set ACLs 'per user', I am forced to add an '@' after the username (i.e. john@), otherwise I cannot save the configuration.
The UI does not act as such, and it just inserts 'john'. This forces me to edit the config manually and correct the issue before saving.
Expected Behavior
Either the UI should automatically add an '@' to the username, or usernames without '@' should be allowed.
###Environment