netmaker/cli/functions
Tobias Cudnik 723375b334
NET-152 enrollment keys for non admins (#2346)
* return 401 instead of 403

* fixed http.StatusForbidden

* Tagged build version (temp)

* Unauthorized_Err when applicable

* untagged version

* fixed PUT /api/users/networks/user1

* - expired token redirs to login
- added `/api/enrollment_keys` for non-admins
- unit test for enrollment keys for non-admins

* handle user perms in `/hosts`

* removed debug

* misc

* - support masteradmin
- return hosts with partial access

* added `ismaster` to middleware
2023-05-31 13:11:54 +05:30
..
acl.go add comments to exported functions 2022-11-28 18:16:56 +05:30
dns.go add comments to exported functions 2022-11-28 18:16:56 +05:30
enrollment_keys.go add enrollment key to nmctl 2023-03-02 17:40:31 +05:30
ext_client.go Extclient NET-63x (#2286) 2023-05-17 10:58:03 -04:00
host.go correct api path 2023-04-13 17:36:27 -04:00
http_client.go NET-152 enrollment keys for non admins (#2346) 2023-05-31 13:11:54 +05:30
metrics.go add network users subcommand 2022-11-29 19:23:39 +05:30
network.go refactor key updates on host basis vice node 2023-04-13 16:08:39 -04:00
network_user.go add network users subcommand 2022-11-29 19:23:39 +05:30
node.go move relay logic to hosts 2023-01-24 16:00:12 +05:30
pretty_print.go add function comment 2022-12-08 18:07:45 +05:30
server.go add a simple get request function 2022-12-08 19:04:23 +05:30
user.go add comments to exported functions 2022-11-28 18:16:56 +05:30
usergroups.go add network users subcommand 2022-11-29 19:23:39 +05:30