World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[MINOR] docs: supplement missing request path description for set owner API (#10736)
jarred0214b53d67383e70
diff --git a/docs/security/access-control.md b/docs/security/access-control.mdindex bed791f403..9d84757049 100644--- a/docs/security/access-control.md+++ b/docs/security/access-control.md@@ -955,11 +955,11 @@ curl -X PUT -H "Accept: application/vnd.gravitino.v1+json" \```javaGravitinoClient client = ...-// Grant the privilege allowing `SELEC_TABLE` for the `schema` to `role1`+// Grant the privilege allowing `SELECT_TABLE` for the `schema` to `role1`MetadataObject schema = ...Role role = client.grantPrivilegesToRole("role1", schema, Lists.newArrayList(Privileges.SelectTable.allow()));-// Grant the privilege allowing `SELEC_TABLE` for the `table` to `role1`+// Grant the privilege allowing `SELECT_TABLE` for the `table` to `role1`MetadataObject table = ...Role role = client.grantPrivilegesToRole("role1", table, Lists.newArrayList(Privileges.SelectTable.allow()));```@@ -1191,6 +1191,8 @@ Owner owner = client.getOwner(table);You can set the owner of a metadata object.+The request path for REST API is `/api/metalakes/{metalake}/owners/{metadataObjectType}/{metadataObjectName}`.+<Tabs groupId='language' queryString><TabItem value="shell" label="Shell">