Hi all, I opened a PR to make the authorizer configurable per realm:
https://github.com/apache/polaris/pull/6205 The PR includes a few changes that need dev ML discussion: 1. PolarisAuthorizerFactory.create(RealmConfig) is replaced with create(RealmConfig, String). The second argument is the tenant configuration key. 2. polaris.authorization.type is deprecated in favor of polaris.authorization.authorizer.type. The legacy property is still honored when the new one is not set. The reason for this is that we cannot have a map of tenants under polaris.authorization.* because this level is reserved for extensions.,e.g. polaris.authorization.opa or polaris.authorization.ranger. 3. Similarly, Ranger connection properties move from polaris.authorization.ranger.* to polaris.authorization.ranger.properties.*. The old form is deprecated but still honored. The intent is to make room for tenant keys under polaris.authorization.ranger.<tenant>. This also aligns Ranger config with OPA config. Feedback welcome, either here or on the PR. Thanks, Alex
