1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-05-14 01:17:07 +02:00
juanfont.headscale/hscontrol/types
aergus-tng 4651d06fa8
Make matchers part of the Policy interface (#2514)
* Make matchers part of the Policy interface

* Prevent race condition between rules and matchers

* Test also matchers in tests for Policy.Filter

* Compute `filterChanged` in v2 policy correctly

* Fix nil vs. empty list issue in v2 policy test

* policy/v2: always clear ssh map

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

---------

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
Co-authored-by: Aras Ergus <aras.ergus@tngtech.com>
Co-authored-by: Kristoffer Dalby <kristoffer@tailscale.com>
2025-05-01 07:06:30 +02:00
..
testdata Restore support for "Override local DNS" (#2438) 2025-04-17 17:16:59 +02:00
api_key.go Split code into modules 2023-05-26 12:24:50 +02:00
common.go fix double login URL with OIDC (#2445) 2025-02-25 18:16:07 +01:00
config_test.go config: disallow same server url and base_domain (#2544) 2025-04-23 16:24:38 +02:00
config.go config: disallow same server url and base_domain (#2544) 2025-04-23 16:24:38 +02:00
const.go improve testing of route failover logic 2024-04-15 12:31:53 +02:00
node_test.go Make matchers part of the Policy interface (#2514) 2025-05-01 07:06:30 +02:00
node.go Make matchers part of the Policy interface (#2514) 2025-05-01 07:06:30 +02:00
policy.go feat: implements apis for managing headscale policy (#1792) 2024-07-18 07:38:25 +02:00
preauth_key.go types/authkey: include user object in response (#2542) 2025-04-30 11:45:08 +02:00
routes.go Redo route code (#2422) 2025-02-26 16:22:55 +01:00
users_test.go add casbin user test (#2474) 2025-04-23 13:21:51 +02:00
users.go oidc: try to get username from userinfo (#2545) 2025-04-30 11:54:13 +02:00
version.go add git hash to binary, print on startup (#2415) 2025-02-07 13:49:34 +01:00