GoodiesHQ / headscale-admin

Admin Web Interface for juanfont/headscale
GNU General Public License v3.0
510 stars 40 forks source link

Add ACL ? #13

Open szzylph opened 9 months ago

szzylph commented 9 months ago

Increase the ACL management

GoodiesHQ commented 9 months ago

This is already in the works! The dev-acl branch is where you can see progress. Keep in mind that ACL management is not available over the API. What I am currently working on is an ACL builder within the web app: something where you can create an ACL configuration purely in the client side, which you would then have to copy and paste into your ACL file. Then I will make a golang microservice whose only job is to update the ACL file with the value you create in your browser.

I appreciate the suggestion, it is being actively worked on as we speak!

tobru commented 8 months ago

FYI there is work in progress to support ACL management via API:

GoodiesHQ commented 8 months ago

That would be phenomenal. The front end itself simply crafts the proper ACL JSON objects so it would be directly transferrable to the headscale API should that be supported. Not much would change on the front end, it would just render the headscale-admin-acl microservice I plan on creating for simply interacting with the ACL file moot. That would be great.

EdGeraghty commented 4 months ago

FYI there is work in progress to support ACL management via API:

* [feat: implements apis for managing headscale policy juanfont/headscale#1792](https://github.com/juanfont/headscale/pull/1792)

This got merged upstream yesterday so will be in the next Alpha release 🎉

lujian0571 commented 2 months ago

@GoodiesHQ

Headscale v0.23.0 has been released.

https://github.com/juanfont/headscale/releases/tag/v0.23.0

Include policy get and update api.

image image
sevenrats commented 2 months ago

@GoodiesHQ where is this in your backlog right now?