Skip to content

Commit

Permalink
update license
Browse files Browse the repository at this point in the history
  • Loading branch information
xunliu committed Aug 21, 2024
1 parent b45e665 commit 26ede80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 0 additions & 5 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -298,13 +298,8 @@
./security-admin/src/main/java/org/apache/ranger/defines/JsonDateSerializer.java
./security-admin/src/main/java/org/apache/ranger/defines/RangerCommonEnums.java
./security-admin/src/main/java/org/apache/ranger/view/VList.java
./security-admin/src/main/java/org/apache/ranger/view/VXGroupList.java
./security-admin/src/main/java/org/apache/ranger/view/VXUserPermission.java
./security-admin/src/main/java/org/apache/ranger/view/VXDataObject.java
./security-admin/src/main/java/org/apache/ranger/view/VXGroup.java
./security-admin/src/main/java/org/apache/ranger/view/VXGroupList.java
./security-admin/src/main/java/org/apache/ranger/view/VXGroupPermission.java
./security-admin/src/main/java/org/apache/ranger/view/VXPortalUser.java
./security-admin/src/main/java/org/apache/ranger/view/VXUser.java
./security-admin/src/main/java/org/apache/ranger/view/VXUserList.java
./security-admin/src/main/java/org/apache/ranger/view/VXUserPermission.java
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ public RangerPolicy findManagedPolicy(MetadataObject metadataObject)
throws AuthorizationPluginException {
List<String> nsMetadataObj =
Lists.newArrayList(SecurableObjects.DOT_SPLITTER.splitToList(metadataObject.fullName()));
if (nsMetadataObj.size() > 4) {
// The max level of the securable object is `catalog.db.table.column`
throw new RuntimeException("The securable object than 4");
}
nsMetadataObj.remove(0); // skip `catalog`
Map<String, String> searchFilters = new HashMap<>();
Map<String, String> preciseFilters = new HashMap<>();
Expand Down

0 comments on commit 26ede80

Please sign in to comment.