Эх сурвалжийг харах

[metastore] Adding write permissions to the test user

He needs to be able to see the Drop buttons and creating/dropping
tables in the UI.
Romain Rigaux 10 жил өмнө
parent
commit
83f3ef62c3

+ 2 - 0
apps/metastore/src/metastore/tests.py

@@ -65,6 +65,8 @@ class TestMetastoreWithHadoop(BeeswaxSampleProvider):
     user = User.objects.get(username='test')
     self.db = dbms.get(user, get_query_server_config())
 
+    add_permission("test", "test", "write", "metastore")
+
   def test_basic_flow(self):
     # Default database should exist
     response = self.client.get("/metastore/databases")