提交 9dbdb264 编写于 作者: B Bogdan Kyryliuk

Fix read only perms

上级 e465f921
......@@ -34,7 +34,7 @@ ADMIN_ONLY_VIEW_MENUES = {
'RoleModelView',
'Security',
'UserDBModelView',
} | READ_ONLY_MODELVIEWS
}
ADMIN_ONLY_PERMISSIONS = {
'all_database_access',
......
......@@ -41,6 +41,7 @@ class RolePermissionTests(SupersetTestCase):
self.assert_cannot_write('DruidColumnInlineView', perm_set)
def assert_can_gamma(self, perm_set):
self.assert_can_read('DatabaseAsync', perm_set)
self.assert_can_read('TableModelView', perm_set)
# make sure that user can create slices and dashboards
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册