Grant Issue when using one Username from the Apps to vertica
Hello, I am looking for a simple solution to grant issues... We have multi-tenant data warehouse, each Tenant has its own schema. We are using two main users, to access Vertica from our Apps. 1. Superuser for Etl’s and Batch runs 2. Read Only user with grant select on all tables for Queries only. we have two connections pool in the Apps : 1. batch processing 2. Analytic Queries Each using its own resource pool, and using different Username. The READ_ONLY username has GRANT SELECT an all schemas/objects. on the READ_ONLY connection pool, we set the search_path for every Query. The problem: if the Query will use . in the FROM SQL clause, he will be able to "see" other tenant schema. I am wondering if there is a simple solution, how to overcome this matter without parsing the SQL code, and removing the . leaving it only with . -------------------------------- Gil Peretz , 054-5597107
0
Comments