[PR #1937] [CLOSED] Added api endpoint for get getting ACL info (groups and tagOwners) #2407

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

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/1937
Author: @hopleus
Created: 5/14/2024
Status: Closed

Base: mainHead: api-acl


📝 Commits (1)

  • 7e87bcf Added api endpoint for get getting ACL info (groups and tagOwners)

📊 Changes

9 files changed (+925 additions, -256 deletions)

View changed files

gen/go/headscale/v1/acl.pb.go (+372 -0)
📝 gen/go/headscale/v1/headscale.pb.go (+268 -256)
📝 gen/go/headscale/v1/headscale.pb.gw.go (+69 -0)
📝 gen/go/headscale/v1/headscale_grpc.pb.go (+39 -0)
gen/openapiv2/headscale/v1/acl.swagger.json (+44 -0)
📝 gen/openapiv2/headscale/v1/headscale.swagger.json (+68 -0)
📝 hscontrol/grpcv1.go (+35 -0)
proto/headscale/v1/acl.proto (+21 -0)
📝 proto/headscale/v1/headscale.proto (+9 -0)

📄 Description

  • have read the CONTRIBUTING.md file
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

Usecase

At the time of creating the PreAuthKey or when I need to change the list of tags at the Node, I would like to know the list of tags declared in the ACL.

P.S. Since the API implies the management of the HeadScale by the administrator, I don't see anything wrong with him having the opportunity to get this list without looking into the acl.yaml or acl.json


🔄 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/1937 **Author:** [@hopleus](https://github.com/hopleus) **Created:** 5/14/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `api-acl` --- ### 📝 Commits (1) - [`7e87bcf`](https://github.com/juanfont/headscale/commit/7e87bcfee5fd13cda51640abfd28ecfa18553b5c) Added api endpoint for get getting ACL info (groups and tagOwners) ### 📊 Changes **9 files changed** (+925 additions, -256 deletions) <details> <summary>View changed files</summary> ➕ `gen/go/headscale/v1/acl.pb.go` (+372 -0) 📝 `gen/go/headscale/v1/headscale.pb.go` (+268 -256) 📝 `gen/go/headscale/v1/headscale.pb.gw.go` (+69 -0) 📝 `gen/go/headscale/v1/headscale_grpc.pb.go` (+39 -0) ➕ `gen/openapiv2/headscale/v1/acl.swagger.json` (+44 -0) 📝 `gen/openapiv2/headscale/v1/headscale.swagger.json` (+68 -0) 📝 `hscontrol/grpcv1.go` (+35 -0) ➕ `proto/headscale/v1/acl.proto` (+21 -0) 📝 `proto/headscale/v1/headscale.proto` (+9 -0) </details> ### 📄 Description - [x] have read the [CONTRIBUTING.md](./CONTRIBUTING.md) file - [x] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [ ] updated CHANGELOG.md # Usecase At the time of creating the PreAuthKey or when I need to change the list of tags at the Node, I would like to know the list of tags declared in the ACL. P.S. Since the API implies the management of the HeadScale by the administrator, I don't see anything wrong with him having the opportunity to get this list without looking into the acl.yaml or acl.json --- <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:21:06 +01:00
adam closed this issue 2025-12-29 03:21:06 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2407