Yikf commented on code in PR #5172:
URL: https://github.com/apache/kyuubi/pull/5172#discussion_r1295477697


##########
extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/AccessType.scala:
##########
@@ -58,7 +58,12 @@ object AccessType extends Enumeration {
               SHOWPARTITIONS |
               ANALYZE_TABLE => SELECT
           case SHOWCOLUMNS | DESCTABLE => SELECT
-          case SHOWDATABASES | SWITCHDATABASE | DESCDATABASE | SHOWTABLES | 
SHOWFUNCTIONS => USE
+          case SHOWDATABASES |
+               SWITCHDATABASE |
+               DESCDATABASE |
+               SHOWTABLES |
+               SHOWFUNCTIONS |
+               DESCFUNCTION => USE

Review Comment:
   Major modification point



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to