mirror of
https://github.com/netbirdio/netbird.git
synced 2025-01-12 08:58:44 +01:00
acb73bd64a
* refactor access control middleware and user access by JWT groups Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * refactor jwt groups extractor Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * refactor handlers to get account when necessary Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * refactor getAccountFromToken Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * refactor getAccountWithAuthorizationClaims Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * fix merge Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * revert handles change Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * remove GetUserByID from account manager Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * fix tests Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * refactor getAccountWithAuthorizationClaims to return account id Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * refactor handlers to use GetAccountIDFromToken Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * fix tests Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * remove locks Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * refactor Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * add GetGroupByName from store Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * add GetGroupByID from store and refactor Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * Refactor retrieval of policy and posture checks Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * Refactor user permissions and retrieves PAT Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * Refactor route, setupkey, nameserver and dns to get record(s) from store Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * Refactor store Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * fix lint Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * fix tests Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * fix add missing policy source posture checks Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * add store lock Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * fix tests Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> * add get account Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> --------- Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com> |
||
---|---|---|
.. | ||
account | ||
activity | ||
context | ||
geolocation | ||
group | ||
http | ||
idp | ||
integrated_validator | ||
integration_reference | ||
jwtclaims | ||
metrics | ||
migration | ||
mock_server | ||
peer | ||
posture | ||
status | ||
telemetry | ||
testdata | ||
testutil | ||
account_request_buffer.go | ||
account_test.go | ||
account.go | ||
config.go | ||
dns_test.go | ||
dns.go | ||
ephemeral_test.go | ||
ephemeral.go | ||
event_test.go | ||
event.go | ||
file_store_test.go | ||
file_store.go | ||
group_test.go | ||
group.go | ||
grpcserver.go | ||
integrated_validator.go | ||
management_proto_test.go | ||
management_suite_test.go | ||
management_test.go | ||
nameserver_test.go | ||
nameserver.go | ||
network_test.go | ||
network.go | ||
peer_test.go | ||
peer.go | ||
personal_access_token_test.go | ||
personal_access_token.go | ||
policy_test.go | ||
policy.go | ||
posture_checks_test.go | ||
posture_checks.go | ||
route_test.go | ||
route.go | ||
scheduler_test.go | ||
scheduler.go | ||
setupkey_test.go | ||
setupkey.go | ||
sql_store_test.go | ||
sql_store.go | ||
store_test.go | ||
store.go | ||
token_mgr_test.go | ||
token_mgr.go | ||
updatechannel_test.go | ||
updatechannel.go | ||
user_test.go | ||
user.go |