netbird/management/server/http
Misha Bragin 06055af361
Super user invites (#483)
This PR brings user invites logic to the Management service
via HTTP API. 
The POST /users/ API endpoint creates a new user in the Idp
and then in the local storage. 
Once the invited user signs ups, the account invitation is redeemed.
There are a few limitations.
This works only with an enabled IdP manager.
Users that already have a registered account can't be invited.
2022-10-13 18:26:31 +02:00
..
api Super user invites (#483) 2022-10-13 18:26:31 +02:00
middleware feat(ac): add access control middleware (#321) 2022-05-25 18:26:50 +02:00
groups_test.go Super user invites (#483) 2022-10-13 18:26:31 +02:00
groups.go Serve Management gRPC and HTTP on a single 80/443 port (#400) 2022-07-29 20:37:09 +02:00
handler.go Super user invites (#483) 2022-10-13 18:26:31 +02:00
nameservers_test.go Super user invites (#483) 2022-10-13 18:26:31 +02:00
nameservers.go Feature/add nameservers API endpoint (#491) 2022-10-10 11:06:54 +02:00
peers_test.go Super user invites (#483) 2022-10-13 18:26:31 +02:00
peers.go Add hostname, userID, ui version to the HTTP API peer response (#479) 2022-09-26 18:02:45 +02:00
routes_test.go Super user invites (#483) 2022-10-13 18:26:31 +02:00
routes.go Feature/add nameservers API endpoint (#491) 2022-10-10 11:06:54 +02:00
rules_test.go Super user invites (#483) 2022-10-13 18:26:31 +02:00
rules.go Serve Management gRPC and HTTP on a single 80/443 port (#400) 2022-07-29 20:37:09 +02:00
setupkeys_test.go Super user invites (#483) 2022-10-13 18:26:31 +02:00
setupkeys.go Add SetupKey auto-groups property (#460) 2022-09-11 23:16:40 +02:00
users_test.go Super user invites (#483) 2022-10-13 18:26:31 +02:00
users.go Super user invites (#483) 2022-10-13 18:26:31 +02:00
util.go Super user invites (#483) 2022-10-13 18:26:31 +02:00