mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-29 18:36:30 +02:00
Add a new option for filtering to a subset of directory groups in the Pomerium JWT and Impersonate-Group headers. Add a JWTGroupsFilter field to both the Options struct (for a global filter) and to the Policy struct (for per-route filter). These will be populated only from the config protos, and not from a config file. If either filter is set, then for each of a user's groups, the group name or group ID will be added to the JWT groups claim only if it is an exact string match with one of the elements of either filter. |
||
---|---|---|
.. | ||
config.go | ||
evaluator.go | ||
evaluator_test.go | ||
functions.go | ||
functions_test.go | ||
gen-test-certs.go | ||
google_cloud_serverless.go | ||
google_cloud_serverless_test.go | ||
headers_evaluator.go | ||
headers_evaluator_evaluation.go | ||
headers_evaluator_test.go | ||
log.go | ||
log_test.go | ||
policy_evaluator.go | ||
policy_evaluator_test.go |