netbird/iface
Maycon Santos 0b8387bd2c
Group users of same private domain (#243)
* Added Domain Category field and fix store tests

* Add GetAccountByDomain method

* Add Domain Category to authorization claims

* Initial GetAccountWithAuthorizationClaims test cases

* Renamed Private Domain map and index it on saving account

* New Go build tags

* Added NewRegularUser function

* Updated restore to account for primary domain account

Also, added another test case

* Added grouping user of private domains

Also added auxiliary methods for update metadata and domain attributes

* Update http handles get account method and tests

* Fix lint and document another case

* Removed unnecessary log

* Move use cases to method and add flow comments

* Split the new user and existing logic from GetAccountWithAuthorizationClaims

* Review: minor corrections

Co-authored-by: braginini <bangvalo@gmail.com>
2022-03-01 15:22:18 +01:00
..
configuration.go Fix unstable parallel tests (#202) 2022-01-25 09:40:28 +01:00
iface_darwin.go Refactor Interface package and update windows driver (#192) 2022-01-17 14:01:58 +01:00
iface_linux.go chore: fix lint errors 2022-01-25 08:41:27 +01:00
iface_test.go Fix unstable parallel tests (#202) 2022-01-25 09:40:28 +01:00
iface_unix.go Refactor Interface package and update windows driver (#192) 2022-01-17 14:01:58 +01:00
iface_windows.go Refactor Interface package and update windows driver (#192) 2022-01-17 14:01:58 +01:00
iface.go Support no-proxy mode connection mode (#245) 2022-03-01 14:07:33 +01:00
ifacename_darwin.go Group users of same private domain (#243) 2022-03-01 15:22:18 +01:00
ifacename.go Group users of same private domain (#243) 2022-03-01 15:22:18 +01:00