Open raj-manvar opened 2 months ago
@raj-manvar this reminds me a similar feature, and blocking point that i ran into: https://github.com/trinodb/trino/issues/16539
impersonation creates various issues for adding access control data into the auth process
The ideas is originally suggested by @dain at https://github.com/trinodb/trino/issues/4244#issuecomment-678463292
Adding the JWT claims to extraCredentials field will allow the access control plugin to add access checks based on custom JWT claims, or combination of claims, Add JTI invalidations etc.
Relevant isues https://github.com/trinodb/trino/issues/4244 https://github.com/trinodb/trino/issues/4767