GoodiesHQ / headscale-admin

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

Add ACL ? #13

Open szzylph opened 4 months ago

szzylph commented 4 months ago

Increase the ACL management

GoodiesHQ commented 4 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 4 months ago

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

GoodiesHQ commented 4 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.