superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: [security] Adding all derived FAB UserModelView views to admin only (#4180)
Date Tue, 09 Jan 2018 21:05:40 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 22bdd9e  [security] Adding all derived FAB UserModelView views to admin only (#4180)
22bdd9e is described below

commit 22bdd9e32401111e4ba7ed26d7fb8d15d948590a
Author: John Bodley <4567245+john-bodley@users.noreply.github.com>
AuthorDate: Tue Jan 9 13:05:37 2018 -0800

    [security] Adding all derived FAB UserModelView views to admin only (#4180)
---
 superset/security.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/superset/security.py b/superset/security.py
index 46283eb..a2e0d5a 100644
--- a/superset/security.py
+++ b/superset/security.py
@@ -37,6 +37,10 @@ ADMIN_ONLY_VIEW_MENUS = {
     'RoleModelView',
     'Security',
     'UserDBModelView',
+    'UserLDAPModelView',
+    'UserOAuthModelView',
+    'UserOIDModelView',
+    'UserRemoteUserModelView',
 }
 
 ALPHA_ONLY_VIEW_MENUS = {

-- 
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <commits@superset.apache.org>'].

Mime
View raw message