laserninja opened a new pull request, #14923: URL: https://github.com/apache/gravitino/pull/14923
### What changes were proposed in this pull request? Add the design for authorization explain, access review and queryable audit. It covers: - the operation registry and the denial response header - the explain API, its trace and alternatives format, and its leakage rules - the access review API - the `GravitinoAuthorizer#explain` extension - the `audit_event` table, its write path and retention - the audit query API and the `VIEW_AUDIT` privilege - client surfaces and a phased task breakdown ### Why are the changes needed? Gravitino cannot say why a request was denied or who holds access to an object, and its audit log is a set of per-node files with no query interface. This settles the API contract, the permission rules and the storage model before implementation starts. Fix: #14922 ### Does this PR introduce _any_ user-facing change? No runtime changes. The document proposes these APIs; this PR does not implement them. ### How was this patch tested? Documentation only. Statements about the authorization interceptor, `JcasbinAuthorizer`, the expression constants, the denial event and the audit framework were checked against `main`. No code tests were run. -- 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]
