aajisaka commented on code in PR #7437:
URL: https://github.com/apache/kyuubi/pull/7437#discussion_r4497847184
##########
docs/security/authorization/spark/install.md:
##########
@@ -37,8 +37,75 @@ Use either the shaded jar `kyuubi-spark-authz-shaded_*.jar`
or the `kyuubi-spark
## Configure
+### Authorizer Modes
+
+The plugin supports two authorizer modes, selected by
`ranger.authorizer.impl.class`:
+
+- `org.apache.ranger.authz.remote.RangerRemoteAuthorizer` (default) — Ranger
PDP mode.
+ Authorization requests are sent to the Ranger PDP server via REST APIs. The
plugin is a thin
+ client: policies are not downloaded to the client side, and access audits
are recorded by
+ the PDP server.
+- `org.apache.ranger.authz.embedded.RangerEmbeddedAuthorizer` — embedded mode,
working as the
+ previous Ranger plugin did: policies are pulled from the Ranger admin server
and access
+ requests are evaluated locally on the Spark driver side.
+
+:::{warning}
Review Comment:
This is expected. `{:::{warning}` is a MyST colon fence, enabled by
`myst_enable_extensions = ["colon_fence"]` in `docs/conf.py`. GitHub's diff
view shows the raw directive, but Sphinx renders it as a warning admonition.
The existing docs use `:::{note}` the same way.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]