Explorar o código

[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 %!s(int64=10) %!d(string=hai) anos
pai
achega
83f3ef6
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      apps/metastore/src/metastore/tests.py

+ 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")