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 92b843e css: beautify roles CRUD (#9890) 92b843e is described below commit 92b843e2ae898256e227ab9cee10779ca173c7e0 Author: Maxime Beauchemin <maximebeauche...@gmail.com> AuthorDate: Tue May 26 22:32:13 2020 -0700 css: beautify roles CRUD (#9890) --- superset-frontend/stylesheets/superset.less | 3 +++ superset/security/manager.py | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/superset-frontend/stylesheets/superset.less b/superset-frontend/stylesheets/superset.less index 86fab86..688ea8b 100644 --- a/superset-frontend/stylesheets/superset.less +++ b/superset-frontend/stylesheets/superset.less @@ -576,3 +576,6 @@ td.filtered { .table-name { font-size: @font-size-l; } +.select2-container-multi { + width: 100% !important; +} diff --git a/superset/security/manager.py b/superset/security/manager.py index 021ca9f..51cb3e0 100644 --- a/superset/security/manager.py +++ b/superset/security/manager.py @@ -95,6 +95,10 @@ PermissionViewModelView.include_route_methods = {RouteMethod.LIST} PermissionModelView.include_route_methods = {RouteMethod.LIST} ViewMenuModelView.include_route_methods = {RouteMethod.LIST} +RoleModelView.list_columns = ["name"] +RoleModelView.edit_columns = ["name", "permissions", "user"] +RoleModelView.related_views = [] + class SupersetSecurityManager(SecurityManager): userstatschartview = None