[PR #581] [CLOSED] added cli options to output ACLs #1497

Closed
opened 2025-12-29 02:30:17 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/581
Author: @samson4649
Created: 5/12/2022
Status: Closed

Base: mainHead: issue-492


📝 Commits (10+)

  • c054e27 added cli options to output ACLs
  • 6b13558 Merge pull request #1 from juanfont/main
  • 4cf9dc5 Merge remote-tracking branch 'jf/main' into issue-492
  • 93b19ae implements #492 - print running acls
  • 8e6401b fixed formatting and linting
  • 244c2f1 updated change log
  • 8725cf0 added missing prototypes
  • f95a4ff update
  • c308e21 modified to only print policy as its read in and omit empty tags
  • c462529 Merge branch 'main' into issue-492

📊 Changes

22 files changed (+1589 additions, -338 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 acls.go (+139 -0)
📝 acls_types.go (+12 -12)
cmd/headscale/cli/acls.go (+78 -0)
gen/go/headscale/v1/acls.pb.go (+632 -0)
📝 gen/go/headscale/v1/apikey.pb.go (+1 -1)
📝 gen/go/headscale/v1/device.pb.go (+1 -1)
📝 gen/go/headscale/v1/headscale.pb.go (+233 -219)
📝 gen/go/headscale/v1/headscale.pb.gw.go (+199 -88)
📝 gen/go/headscale/v1/headscale_grpc.pb.go (+42 -0)
📝 gen/go/headscale/v1/machine.pb.go (+1 -1)
📝 gen/go/headscale/v1/namespace.pb.go (+1 -1)
📝 gen/go/headscale/v1/preauthkey.pb.go (+1 -1)
📝 gen/go/headscale/v1/routes.pb.go (+1 -1)
gen/openapiv2/headscale/v1/acls.swagger.json (+43 -0)
📝 gen/openapiv2/headscale/v1/headscale.swagger.json (+131 -0)
📝 go.mod (+4 -4)
📝 go.sum (+6 -8)
📝 grpcv1.go (+12 -0)
proto/headscale/v1/acls.proto (+39 -0)

...and 2 more files

📄 Description

  • read the CONTRIBUTING guidelines
  • 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

Drafted to Fix #492


🔄 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/581 **Author:** [@samson4649](https://github.com/samson4649) **Created:** 5/12/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `issue-492` --- ### 📝 Commits (10+) - [`c054e27`](https://github.com/juanfont/headscale/commit/c054e2766e78e4676055566a7b5fec3591a74295) added cli options to output ACLs - [`6b13558`](https://github.com/juanfont/headscale/commit/6b1355846a1f3b5daee8bdbf13d188d53b65150b) Merge pull request #1 from juanfont/main - [`4cf9dc5`](https://github.com/juanfont/headscale/commit/4cf9dc50cf2dedec4ba2991bbe2b0c8c0923803e) Merge remote-tracking branch 'jf/main' into issue-492 - [`93b19ae`](https://github.com/juanfont/headscale/commit/93b19aefa8bf8944600bf0e50ee24417c6224bb6) implements #492 - print running acls - [`8e6401b`](https://github.com/juanfont/headscale/commit/8e6401ba175e6a88e2452eabb7c3be7360464790) fixed formatting and linting - [`244c2f1`](https://github.com/juanfont/headscale/commit/244c2f1ad8d526b1b9c5a08905ad170360ef8905) updated change log - [`8725cf0`](https://github.com/juanfont/headscale/commit/8725cf08c40fe0b5f20c8d497a8e226286b25d64) added missing prototypes - [`f95a4ff`](https://github.com/juanfont/headscale/commit/f95a4ff33a47fbc53a902f2de04a6245af409796) update - [`c308e21`](https://github.com/juanfont/headscale/commit/c308e21c70ffa524062793c888f36bdcad6399c2) modified to only print policy as its read in and omit empty tags - [`c462529`](https://github.com/juanfont/headscale/commit/c4625297a4b2b90fc3fd49ce6553de333145b848) Merge branch 'main' into issue-492 ### 📊 Changes **22 files changed** (+1589 additions, -338 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `acls.go` (+139 -0) 📝 `acls_types.go` (+12 -12) ➕ `cmd/headscale/cli/acls.go` (+78 -0) ➕ `gen/go/headscale/v1/acls.pb.go` (+632 -0) 📝 `gen/go/headscale/v1/apikey.pb.go` (+1 -1) 📝 `gen/go/headscale/v1/device.pb.go` (+1 -1) 📝 `gen/go/headscale/v1/headscale.pb.go` (+233 -219) 📝 `gen/go/headscale/v1/headscale.pb.gw.go` (+199 -88) 📝 `gen/go/headscale/v1/headscale_grpc.pb.go` (+42 -0) 📝 `gen/go/headscale/v1/machine.pb.go` (+1 -1) 📝 `gen/go/headscale/v1/namespace.pb.go` (+1 -1) 📝 `gen/go/headscale/v1/preauthkey.pb.go` (+1 -1) 📝 `gen/go/headscale/v1/routes.pb.go` (+1 -1) ➕ `gen/openapiv2/headscale/v1/acls.swagger.json` (+43 -0) 📝 `gen/openapiv2/headscale/v1/headscale.swagger.json` (+131 -0) 📝 `go.mod` (+4 -4) 📝 `go.sum` (+6 -8) 📝 `grpcv1.go` (+12 -0) ➕ `proto/headscale/v1/acls.proto` (+39 -0) _...and 2 more files_ </details> ### 📄 Description <!-- Please tick if the following things apply. You… --> - [x] read the [CONTRIBUTING guidelines](README.md#user-content-contributing) - [x] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [x] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> Drafted to Fix #492 --- <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 02:30:17 +01:00
adam closed this issue 2025-12-29 02:30:17 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1497