diff --git a/src/main/resources/messages/message_en.properties b/src/main/resources/messages/message_en.properties index 2e6cdda52..9b3757ac4 100644 --- a/src/main/resources/messages/message_en.properties +++ b/src/main/resources/messages/message_en.properties @@ -1592,8 +1592,8 @@ action_insert=Insert action_manipulate=Manipulate method=Method ddos_log=Attacks -other_system_ddos_log_menu=Chain Attack -other_system_ddos_report_menu=Attacks Statistics +other_system_ddos_log_menu=Attack Chain +other_system_ddos_report_menu=Attack Posture statistics=Statistics config_log_total=Configuration Log Total statis_dimension=Statistics Dimension diff --git a/src/main/resources/messages/message_ru.properties b/src/main/resources/messages/message_ru.properties index deddaa8b9..ea283d9fe 100644 --- a/src/main/resources/messages/message_ru.properties +++ b/src/main/resources/messages/message_ru.properties @@ -1594,8 +1594,8 @@ action_insert=Insert action_manipulate=Manipulate method=Method ddos_log=Attacks -other_system_ddos_log_menu=Chain Attack -other_system_ddos_report_menu=Attacks Statistics +other_system_ddos_log_menu=Attack Chain +other_system_ddos_report_menu=Attack Posture statistics=Statistics config_log_total=Configuration Log Total statis_dimension=Statistics Dimension diff --git a/src/main/resources/sql/20190531/add_menu.sql b/src/main/resources/sql/20190531/add_menu.sql index 7c55a94ec..bb483b95b 100644 --- a/src/main/resources/sql/20190531/add_menu.sql +++ b/src/main/resources/sql/20190531/add_menu.sql @@ -2,3 +2,6 @@ #日志检索-国家代理下新增HTTP(S)操控菜单 INSERT INTO `sys_menu` (`parent_id`, `parent_ids`, `code`, `name`, `sort`, `href`, `target`, `icon`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`, `menu_bg`, `quick_action`, `is_top`, `function_id`) VALUES ('951', '0,1,152,951,', 'http_manipulation', 'HTTP操控', '5', '/log/pxy/httpManipulList', '', '', '1', '', '1', '2019-05-29 09:59:03', '1', '2019-05-29 09:59:03', '', '1', NULL, '0', '0', '215'); + +#为admin角色分配新的菜单权限 +insert into sys_privilege (PRIVILEGE_MASTER,PRIVILEGE_MASTER_VALUE,PRIVILEGE_ACCESS,PRIVILEGE_ACCESS_VALUE,PRIVILEGE_OPERATION ) select 'ROLE',r.id,1000,m.id,1 from sys_role r,sys_menu m where r.name='admin' and m.code in ('http_manipulation') and href='/log/pxy/httpManipulList'; diff --git a/src/main/webapp/WEB-INF/views/index.jsp b/src/main/webapp/WEB-INF/views/index.jsp index 185a1052b..693769991 100644 --- a/src/main/webapp/WEB-INF/views/index.jsp +++ b/src/main/webapp/WEB-INF/views/index.jsp @@ -535,6 +535,7 @@