fix(系统设置): 操作日志对象中添加用户组和权限选项
--bug=1019390 --user=李玉号 【系统设置】操作日志对象功能类型不全,缺少用户组和权限/插件管理/配额管理/项目管理 https://www.tapd.cn/55049933/s/1305428
This commit is contained in:
parent
56fb3e2712
commit
49a8b56fd1
|
@ -1,5 +1,9 @@
|
||||||
package io.metersphere.commons.constants;
|
package io.metersphere.commons.constants;
|
||||||
|
|
||||||
public enum OperLogConstants {
|
public enum OperLogConstants {
|
||||||
CREATE, DELETE, GC, RESTORE, DEBUG, UPDATE, BATCH_DEL, BATCH_UPDATE, BATCH_ADD, BATCH_RESTORE, BATCH_GC, IMPORT, EXPORT, ASSOCIATE_CASE, ASSOCIATE_ISSUE, UN_ASSOCIATE_CASE, REVIEW, COPY, EXECUTE, SHARE, LOGIN, CREATE_PRE_TEST, OTHER
|
CREATE, DELETE, DEBUG, UPDATE, REVIEW, COPY, EXECUTE, SHARE, GC, RESTORE,
|
||||||
|
BATCH_DEL, BATCH_UPDATE, BATCH_ADD, BATCH_RESTORE, BATCH_GC,
|
||||||
|
IMPORT, EXPORT,
|
||||||
|
ASSOCIATE_CASE, ASSOCIATE_ISSUE, UN_ASSOCIATE_CASE,
|
||||||
|
LOGIN, PERMISSION_UPDATE, CREATE_PRE_TEST, OTHER
|
||||||
}
|
}
|
||||||
|
|
|
@ -241,6 +241,11 @@ export function PROJECTSYSLIST() {
|
||||||
value: [i18n.t('commons.project') + "-" + i18n.t('permission.project_message.name'), 'WORKSPACE_MESSAGE_SETTINGS'],
|
value: [i18n.t('commons.project') + "-" + i18n.t('permission.project_message.name'), 'WORKSPACE_MESSAGE_SETTINGS'],
|
||||||
leaf: true
|
leaf: true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: i18n.t('commons.project') + "-" + i18n.t('operating_log.group_permission'),
|
||||||
|
value: [i18n.t('commons.project') + "-" + i18n.t('operating_log.group_permission'), 'GROUP_PERMISSION'],
|
||||||
|
leaf: true
|
||||||
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
@ -232,7 +232,11 @@ export function SYSLIST() {
|
||||||
value: [i18n.t('commons.system') + "-" + i18n.t('license.title'), 'SYSTEM_AUTHORIZATION_MANAGEMENT'],
|
value: [i18n.t('commons.system') + "-" + i18n.t('license.title'), 'SYSTEM_AUTHORIZATION_MANAGEMENT'],
|
||||||
leaf: true
|
leaf: true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: i18n.t('commons.system') + "-" + i18n.t('operating_log.group_permission'),
|
||||||
|
value: [i18n.t('commons.system') + "-" + i18n.t('operating_log.group_permission'), 'GROUP_PERMISSION'],
|
||||||
|
leaf: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: i18n.t('commons.workspace'),
|
label: i18n.t('commons.workspace'),
|
||||||
value: [i18n.t('commons.workspace'), 'SYSTEM_WORKSPACE'],
|
value: [i18n.t('commons.workspace'), 'SYSTEM_WORKSPACE'],
|
||||||
|
|
Loading…
Reference in New Issue