fix: 移除权限dashboard

pull/7930/head
Jiangjie.Bai 3 years ago committed by Jiangjie.Bai
parent ec9e5da653
commit 996621f303

@ -87,7 +87,6 @@ special_pid_mapper = {
'terminal.status': 'terminal_node',
'terminal.task': 'terminal_node',
'audits.ftplog': 'terminal',
'rbac.menupermission': 'view_other',
'perms.view_myassets': 'my_assets',
'perms.view_myapps': 'my_apps',
'ops.add_commandexecution': 'view_workspace',

@ -58,7 +58,7 @@ def clean_db_content_types():
('perms', 'applicationpermission', 'view_permuserapplication'),
('perms', 'assetpermission', 'view_permuserasset'),
('perms', 'assetpermission', 'view_permusergroupasset'),
('rbac', 'menupermission', 'view_dashboard'),
('applications', 'databaseapp', 'add_databaseapp'),
('applications', 'databaseapp', 'change_databaseapp'),
('applications', 'databaseapp', 'delete_databaseapp'),

Loading…
Cancel
Save