mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-29 11:33:48 +01:00
d275d411aa
* Extend management API to support list of allowed JWT groups (#1366) * Add JWTAllowGroups settings to account management * Return an empty group list if jwt allow groups is not set * Add JwtAllowGroups to account settings in handler test * Add JWT group-based user authorization (#1373) * Add JWTAllowGroups settings to account management * Return an empty group list if jwt allow groups is not set * Add JwtAllowGroups to account settings in handler test * Implement user access validation authentication based on JWT groups * Remove the slices package import due to compatibility issues with the gitHub workflow(s) Go version * Refactor auth middleware and test for extracted claim handling * Optimize JWT group check in auth middleware to cover nil and empty allowed groups |
||
---|---|---|
.. | ||
api | ||
middleware | ||
util | ||
accounts_handler_test.go | ||
accounts_handler.go | ||
dns_settings_handler_test.go | ||
dns_settings_handler.go | ||
events_handler_test.go | ||
events_handler.go | ||
groups_handler_test.go | ||
groups_handler.go | ||
handler.go | ||
nameservers_handler_test.go | ||
nameservers_handler.go | ||
pat_handler_test.go | ||
pat_handler.go | ||
peers_handler_test.go | ||
peers_handler.go | ||
policies_handler_test.go | ||
policies_handler.go | ||
routes_handler_test.go | ||
routes_handler.go | ||
rules_handler_test.go | ||
rules_handler.go | ||
setupkeys_handler_test.go | ||
setupkeys_handler.go | ||
users_handler_test.go | ||
users_handler.go |