plusplusjiajia opened a new pull request, #820:
URL: https://github.com/apache/paimon-rust/pull/820
## Purpose
Ports the client half of the experimental REST management API added in
apache/paimon#9393 (object permissions; wire contract in apache/paimon#9406) to
Rust.
## What it adds
GET
/v1/{prefix}/permissions?resourceType&database&table&function&view&principal&access&maxResults&pageToken
POST /v1/{prefix}/permissions/grant
POST /v1/{prefix}/permissions/revoke
`api/management.rs` mirrors `org.apache.paimon.management`
(`ResourceType`, `PermissionResource`, `PermissionAccess`, `PermissionColumns`,
`PermissionAssignment`, `ListPermissionsRequest`), and `RESTApi` gains
`list_permissions`, `grant_permission` and `revoke_permission`, with thin
delegates on `RESTCatalog`. Wire names, query parameters and client-side
validation follow Java. No new dependencies.
--
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]