Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print out loaded ACLs #492

Closed
12nick12 opened this issue Mar 10, 2022 · 5 comments
Closed

Print out loaded ACLs #492

12nick12 opened this issue Mar 10, 2022 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@12nick12
Copy link

Print out loaded ACLs. This would be awesome to make sure all ACLs are loaded.

@12nick12 12nick12 added the enhancement New feature or request label Mar 10, 2022
@kradalby kradalby added good first issue Good for newcomers help wanted Extra attention is needed labels Mar 10, 2022
@kradalby
Copy link
Collaborator

We could have a command for inspecting the current loaded acls

@restanrm
Copy link
Contributor

I started to draw some lines around a new API to retrieve, modify and check ACLs based on the official tailscale API.

@12nick12
Copy link
Author

Anyway works for me. The reason I'd love this is I see an error in the logs about having issues loading ACLs, but it's not clear on which rule or why. If we had a simple way to show I think it'd be awesome so I could figure out which one isn't' working/loaded.

@kradalby
Copy link
Collaborator

I started to draw some lines around a new API to retrieve, modify and check ACLs based on the official tailscale API.

While I appreciate the need for API support, I really want this to be "config as code" first, I dont have any good idea on how to solve that yet.

I suppose a "study" of potential solutions would be sensible before going too far down one route.

@restanrm
Copy link
Contributor

Ok, I'll keep that in mind and try to list different kind of solutions.

@kradalby kradalby added this to the v0.16.0 milestone Mar 20, 2022
@kradalby kradalby modified the milestones: v0.16.0, v0.17.0 May 30, 2022
samson4649 pushed a commit to samson4649/headscale that referenced this issue Jun 17, 2022
samson4649 added a commit to samson4649/headscale that referenced this issue Jun 17, 2022
@kradalby kradalby modified the milestones: v0.17.0, v0.19.0 Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants