Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KYUUBI #5965] [AUTHZ] Supports check hoodie procedures show_commits …
…resource privileges # 🔍 Description ## Issue References 🔗 This pull request aims to make AuthZ supports check [hoodie procedures show_commits](https://hudi.apache.org/docs/procedures#show_commits) resource privileges ## Describe Your Solution 🔧 Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. ## Types of changes 🔖 - [x] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 #### Behavior Without This Pull Request ⚰️ `CALL show_commits` passes permission checks whether they have permission or not #### Behavior With This Pull Request 🎉 `CALL show_commits` will not pass without permission #### Related Unit Tests New test added, extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/ranger/HudiCatalogRangerSparkExtensionSuite.scala#ShowCommitsProcedure --- # Checklist 📝 - [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #5965 from Yikf/hudi-showcommits. Closes #5965 4e609b0 [yikaifei] Supports check hoodie procedures show_commits resource privileges Authored-by: yikaifei <[email protected]> Signed-off-by: yikaifei <[email protected]>
- Loading branch information