1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-10-17 20:05:55 +02:00
juanfont.headscale/tests/acls/acl_policy_basic_groups.hujson

27 lines
444 B
Plaintext
Raw Normal View History

2021-07-04 13:23:31 +02:00
// This ACL is used to test group expansion
{
"groups": {
2021-07-04 13:23:31 +02:00
"group:example": [
"testuser",
2021-07-04 13:23:31 +02:00
],
},
"hosts": {
2021-07-04 13:23:31 +02:00
"host-1": "100.100.100.100",
"subnet-1": "100.100.101.100/24",
},
"acls": [
2021-07-04 13:23:31 +02:00
{
"action": "accept",
"src": [
2021-07-04 13:23:31 +02:00
"group:example",
],
"dst": [
2021-07-04 13:23:31 +02:00
"host-1:*",
],
},
],
}