This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch branch-0.7
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-0.7 by this push:
new e96b91ea3 [MINOR] improvement(authorization-plugin): Revert
unnecessary changes for branch 0.7 (#5416)
e96b91ea3 is described below
commit e96b91ea3c9bf576d1cc8bd6d4e4d22b7c1e5d71
Author: roryqi <[email protected]>
AuthorDate: Fri Nov 1 13:33:22 2024 +0800
[MINOR] improvement(authorization-plugin): Revert unnecessary changes for
branch 0.7 (#5416)
### What changes were proposed in this pull request?
Revert unnecessary changes for branch 0.7
### Why are the changes needed?
Just a minor.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
I use the command git diff main branch-0.7.
---
.../java/org/apache/gravitino/authorization/ranger/RangerHelper.java | 2 +-
.../gravitino/authorization/ranger/integration/test/RangerITEnv.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/authorizations/authorization-ranger/src/main/java/org/apache/gravitino/authorization/ranger/RangerHelper.java
b/authorizations/authorization-ranger/src/main/java/org/apache/gravitino/authorization/ranger/RangerHelper.java
index 99bcbf8c1..b8c9868f6 100644
---
a/authorizations/authorization-ranger/src/main/java/org/apache/gravitino/authorization/ranger/RangerHelper.java
+++
b/authorizations/authorization-ranger/src/main/java/org/apache/gravitino/authorization/ranger/RangerHelper.java
@@ -163,7 +163,7 @@ public class RangerHelper {
}
/**
- * Find the managed policy for the ranger metadata names.
+ * Find the managed policies for the ranger securable object.
*
* @param metadataNames The metadata object names to find the managed policy.
* @return The managed policy for the metadata object.
diff --git
a/authorizations/authorization-ranger/src/test/java/org/apache/gravitino/authorization/ranger/integration/test/RangerITEnv.java
b/authorizations/authorization-ranger/src/test/java/org/apache/gravitino/authorization/ranger/integration/test/RangerITEnv.java
index a64e536dd..fdc2d8fab 100644
---
a/authorizations/authorization-ranger/src/test/java/org/apache/gravitino/authorization/ranger/integration/test/RangerITEnv.java
+++
b/authorizations/authorization-ranger/src/test/java/org/apache/gravitino/authorization/ranger/integration/test/RangerITEnv.java
@@ -181,7 +181,7 @@ public class RangerITEnv {
policyName,
policyResourceMap,
Collections.singletonList(policyItem),
- true);
+ false);
}
/**