fix(headscale): valid default ACL + document /admin gating

headscale rejects autogroups as tagOwners (only user/group:/tag:), which made
the shipped policy fatal. Replace with a valid allow-all default plus correct
commented examples for tightening. Document gating /admin to a pocket-id
superuser group via the headplane client's Allowed User Groups. Rebuild archive.
This commit is contained in:
57_Wolve committed 2026-06-12 16:17:26 -05:00
1 parent 1ca79938cd
commit 6a3fc68b75
3 files changed
+109 -114

No files matched your search

+6
View File
@@ -67,6 +67,12 @@ by the launcher, or set in `.env`). Leave them blank to use headplane's
API-key login instead. Pin the image with `HEADPLANE_TAG` (defaults to
`latest`).
**Gate `/admin` to a superuser group:** restrict it at pocket-id — edit the
headplane OIDC client and set its **Allowed User Groups** to your superuser
group. Only members of that group can complete the OIDC login, so only they can
reach `/admin`. (Enforced at the IdP, so it covers the UI regardless of
headplane's own checks.)
> headplane integration is version-sensitive; if the UI doesn't come up,
> check `docker compose logs headplane` and verify `headplane.yaml` /
> the minted `HEADPLANE_HS_API_KEY` in `.env`.