netbird/management/server
Mikhail Bragin 6ae27c9a9b
Refactor: support multiple users under the same account (#170)
* feature: add User entity to Account

* test: new file store creation test

* test: add FileStore persist-restore tests

* test: add GetOrCreateAccountByUser Accountmanager test

* refactor: rename account manager users file

* refactor: use userId instead of accountId when handling Management HTTP API

* fix: new account creation for every request

* fix: golint

* chore: add account creator to Account Entity to identify who created the account.

* chore: use xid ID generator for account IDs

* fix: test failures

* test: check that CreatedBy is stored when account is stored

* chore: add account copy method

* test: remove test for non existent GetOrCreateAccount func

* chore: add accounts conversion function

* fix: golint

* refactor: simplify admin user creation

* refactor: move migration script to a separate package
2021-12-27 13:17:15 +01:00
..
http Refactor: support multiple users under the same account (#170) 2021-12-27 13:17:15 +01:00
migration Refactor: support multiple users under the same account (#170) 2021-12-27 13:17:15 +01:00
testdata Refactor: support multiple users under the same account (#170) 2021-12-27 13:17:15 +01:00
account_test.go Refactor: support multiple users under the same account (#170) 2021-12-27 13:17:15 +01:00
account.go Refactor: support multiple users under the same account (#170) 2021-12-27 13:17:15 +01:00
config.go management/support cert from file (#122) 2021-09-25 19:22:49 +02:00
file_store_test.go Refactor: support multiple users under the same account (#170) 2021-12-27 13:17:15 +01:00
file_store.go Refactor: support multiple users under the same account (#170) 2021-12-27 13:17:15 +01:00
grpcserver.go Delete peer (#114) 2021-09-07 18:36:46 +02:00
management_suite_test.go Move management server to a separate directory (#67) 2021-07-24 16:14:29 +02:00
management_test.go update to go 1.17 (#167) 2021-12-21 10:02:25 +01:00
network.go Refactor: support multiple users under the same account (#170) 2021-12-27 13:17:15 +01:00
peer.go Refactor: support multiple users under the same account (#170) 2021-12-27 13:17:15 +01:00
setupkey_test.go feature: add update setup key endpoint 2021-08-20 22:33:43 +02:00
setupkey.go fix: minor HTTP bugs 2021-08-25 14:16:17 +02:00
store.go Refactor: support multiple users under the same account (#170) 2021-12-27 13:17:15 +01:00
turncredentials_test.go client update of TURNs and STUNs (#106) 2021-09-03 17:47:40 +02:00
turncredentials.go client update of TURNs and STUNs (#106) 2021-09-03 17:47:40 +02:00
updatechannel_test.go abstract peer channel (#101) 2021-08-29 17:48:31 +02:00
updatechannel.go abstract peer channel (#101) 2021-08-29 17:48:31 +02:00
user.go Refactor: support multiple users under the same account (#170) 2021-12-27 13:17:15 +01:00