adutra commented on PR #3228:
URL: https://github.com/apache/polaris/pull/3228#issuecomment-3661802316

   > > The Resolver is largely an implementation detail of the default RBAC 
engine.
   > 
   > I agree with that point.
   > 
   > However, rather than providing `Supplier`s from the `Authorizer` for the 
current `Resolver` to call, could we make the authorizer provide the whole 
`Resolver` impl. that is customized to the authorizer demands?
   
   Going one step further: why would the Authorizer API need to expose the 
`Resolver` at all? It could be an internal field of `PolarisAuthorizerImpl` 
(the default authorizer). This could be achieved by removing the 
`activatedEntities` argument from all Authorizer API methods, and letting the 
default authorizer invoke the `Resolver` internally in order to compute the 
required "activated entities".


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to