zxl-333 opened a new pull request, #6978: URL: https://github.com/apache/kyuubi/pull/6978
Change the GetSchemas and GetTables functions on kyuubi to use DDL to obtain information, thereby resolving the issue of DBeaver bypassing Ranger's permission restrictions. ### Why are the changes needed? The ranger plugin has been enabled to control permissions. When using DBeaver to connect to Kyuubi, users without permission for the database and tables can still see the database and tables on the left side. After applying this modification, the access to the database tables can be controlled through the Ranger plugin. When users use DBeaver, they can only see the database tables for which they have permissions in the "Tables" column on the left side. ### How was this patch tested? Use the ranger plugin of Kyuubi for authorization, and use DBeaver to connect to Kyuubi for testing. ### Was this patch authored or co-authored using generative AI tooling? No -- 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: notifications-unsubscr...@kyuubi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org For additional commands, e-mail: notifications-h...@kyuubi.apache.org