refactor(系统设置): 增加任务中心的权限
This commit is contained in:
parent
e675b4b2e5
commit
1ae8f21bc9
|
@ -56,7 +56,7 @@ INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT
|
|||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'org_admin', 'ORGANIZATION_TEMPLATE:READ+DELETE');
|
||||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'org_admin', 'ORGANIZATION_TEMPLATE:READ+ENABLE');
|
||||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'org_admin', 'ORGANIZATION_TASK_CENTER:READ');
|
||||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'org_admin', 'ORGANIZATION_TASK_CENTER:READ+SHOP');
|
||||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'org_admin', 'ORGANIZATION_TASK_CENTER:READ+STOP');
|
||||
|
||||
-- 组织成员权限
|
||||
-- 空权限
|
||||
|
|
|
@ -247,6 +247,8 @@ permission.system_organization_project_member.add=添加成员
|
|||
permission.system_organization_project_member.delete=删除成员
|
||||
permission.system_operation_log.name=日志
|
||||
permission.organization_operation_log.name=日志
|
||||
permission.organization_task_center.name=任务中心
|
||||
permission.organization_task_center.stop=停止
|
||||
permission.personal_settings=个人设置
|
||||
permission.my_settings_personal_info=个人信息
|
||||
permission.my_settings=我的设置
|
||||
|
|
|
@ -314,4 +314,6 @@ operation_history.type.length_range=Operating history type length must be betwee
|
|||
operation_history.source_id.not_blank=Operating history source id cannot be empty
|
||||
operation_history.version_id.not_blank=Operating history version id cannot be empty
|
||||
operation_history.version_id.length_range=Operating history version id length must be between {min} and {max}
|
||||
permission.organization_task_center.name=Task center
|
||||
permission.organization_task_center.stop=Stop task
|
||||
|
||||
|
|
|
@ -314,3 +314,6 @@ operation_history.type.length_range=变更记录操作类型长度必须在{min}
|
|||
operation_history.source_id.not_blank=变更记录资源 ID 不能为空
|
||||
operation_history.version_id.not_blank=变更记录版本 ID 不能为空
|
||||
operation_history.version_id.length_range=变更记录版本 ID 长度必须在{min}和{max}之间
|
||||
|
||||
permission.organization_task_center.name=任务中心
|
||||
permission.organization_task_center.stop=停止
|
||||
|
|
|
@ -313,3 +313,6 @@ operation_history.type.length_range=變更記錄操作類型長度必須在{min}
|
|||
operation_history.source_id.not_blank=變更記錄資源 ID 不能為空
|
||||
operation_history.version_id.not_blank=變更記錄版本 ID 不能為空
|
||||
operation_history.version_id.length_range=變更記錄版本 ID 長度必須在{min}和{max}之間
|
||||
|
||||
permission.organization_task_center.name=任務中心
|
||||
permission.organization_task_center.stop=停止
|
|
@ -178,6 +178,15 @@
|
|||
"id": "SYSTEM_LOG:READ"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "SYSTEM_TASK_CENTER",
|
||||
"name": "permission.organization_task_center.name",
|
||||
"permissions": [
|
||||
{
|
||||
"id": "SYSTEM_TASK_CENTER:READ"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -268,7 +277,6 @@
|
|||
"name": "permission.system_organization_project_member.delete"
|
||||
}
|
||||
]
|
||||
|
||||
},
|
||||
{
|
||||
"id": "ORGANIZATION_TEMPLATE",
|
||||
|
@ -300,6 +308,19 @@
|
|||
"id": "ORGANIZATION_LOG:READ"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "ORGANIZATION_TASK_CENTER",
|
||||
"name": "permission.organization_task_center.name",
|
||||
"permissions": [
|
||||
{
|
||||
"id": "ORGANIZATION_TASK_CENTER:READ"
|
||||
},
|
||||
{
|
||||
"id": "ORGANIZATION_TASK_CENTER:READ+STOP",
|
||||
"name": "permission.organization_task_center.stop"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue