소스 검색

[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 년 전
부모
커밋
83f3ef6
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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")