[PR #2506] [MERGED] fix auto approver on register and new policy #2697

Closed
opened 2025-12-29 03:22:24 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2506
Author: @kradalby
Created: 3/27/2025
Status: Merged
Merged: 3/31/2025
Merged by: @kradalby

Base: mainHead: kradalby/auto-approve


📝 Commits (3)

  • 52d65d7 fix issue auto approve route on register bug
  • e02987c hsic: only set db policy if exist
  • 414fea9 policy: calculate changed based on policy and filter

📊 Changes

10 files changed (+575 additions, -217 deletions)

View changed files

📝 .github/workflows/test-integration-policyv2.yaml (+1 -2)
📝 .github/workflows/test-integration.yaml (+1 -2)
📝 hscontrol/app.go (+38 -0)
📝 hscontrol/auth.go (+10 -3)
📝 hscontrol/grpcv1.go (+5 -0)
📝 hscontrol/policy/v1/policy.go (+8 -4)
📝 integration/acl_test.go (+3 -22)
📝 integration/control.go (+2 -0)
📝 integration/hsic/hsic.go (+131 -7)
📝 integration/route_test.go (+376 -177)

📄 Description

Depends on #2489

Fixes #2497
Fixes #2485


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/2506 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 3/27/2025 **Status:** ✅ Merged **Merged:** 3/31/2025 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/auto-approve` --- ### 📝 Commits (3) - [`52d65d7`](https://github.com/juanfont/headscale/commit/52d65d77b82a82278bf40ff78b41b5a8fa18d06f) fix issue auto approve route on register bug - [`e02987c`](https://github.com/juanfont/headscale/commit/e02987cfef7f379b37db4438c98a308589a3d8f2) hsic: only set db policy if exist - [`414fea9`](https://github.com/juanfont/headscale/commit/414fea91f02826b4188c3df9e1a7d2bbb1b7305c) policy: calculate changed based on policy and filter ### 📊 Changes **10 files changed** (+575 additions, -217 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/test-integration-policyv2.yaml` (+1 -2) 📝 `.github/workflows/test-integration.yaml` (+1 -2) 📝 `hscontrol/app.go` (+38 -0) 📝 `hscontrol/auth.go` (+10 -3) 📝 `hscontrol/grpcv1.go` (+5 -0) 📝 `hscontrol/policy/v1/policy.go` (+8 -4) 📝 `integration/acl_test.go` (+3 -22) 📝 `integration/control.go` (+2 -0) 📝 `integration/hsic/hsic.go` (+131 -7) 📝 `integration/route_test.go` (+376 -177) </details> ### 📄 Description Depends on #2489 Fixes #2497 Fixes #2485 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 03:22:24 +01:00
adam closed this issue 2025-12-29 03:22:24 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2697