Revert "BUG-31949: In hive plugin TABLE policy restriction for all tables {{*}} fails when UDF policy for all functions {{*}} is maintained for a database"

This reverts commit 9c0c5d953d4821c5311c2d6389c8c3f3f98e8927.
diff --git a/agents-impl/src/main/java/com/xasecure/pdp/hive/HiveAuthDB.java b/agents-impl/src/main/java/com/xasecure/pdp/hive/HiveAuthDB.java
index 5550183..e64c3e9 100644
--- a/agents-impl/src/main/java/com/xasecure/pdp/hive/HiveAuthDB.java
+++ b/agents-impl/src/main/java/com/xasecure/pdp/hive/HiveAuthDB.java
@@ -218,10 +218,6 @@
 		boolean ret = false;
 
 		for (HiveAuthRule rule : allRuleList) {
-			if(rule.isUdf()) {
-				continue;
-			}
-
 			ret = rule.isMatched(database, ugi.getShortUserName(), ugi.getGroupNames(), accessType);
 
 			if(ret) {
@@ -240,10 +236,6 @@
 		boolean ret = false;
 
 		for (HiveAuthRule rule : tblRuleList) {
-			if(rule.isUdf()) {
-				continue;
-			}
-
 			ret = rule.isMatched(database, tableOrView, ugi.getShortUserName(), ugi.getGroupNames(), accessType);
 
 			if(ret) {