refactor(权限管理): 权限设置
This commit is contained in:
parent
9698d3f601
commit
782f6ddac4
|
@ -428,6 +428,10 @@ insert into user_group_permission (id, group_id, permission_id, module_id)
|
|||
values (uuid(), 'project_admin', 'PROJECT_TRACK_PLAN:READ+CASE_BATCH_DELETE', 'PROJECT_TRACK_PLAN');
|
||||
insert into user_group_permission (id, group_id, permission_id, module_id)
|
||||
values (uuid(), 'project_admin', 'PROJECT_TRACK_PLAN:READ+REPORT_DELETE', 'PROJECT_TRACK_PLAN');
|
||||
insert into user_group_permission (id, group_id, permission_id, module_id)
|
||||
values (uuid(), 'project_admin', 'PROJECT_ENVIRONMENT:READ+CREATE', 'PROJECT_ENVIRONMENT');
|
||||
insert into user_group_permission (id, group_id, permission_id, module_id)
|
||||
values (uuid(), 'project_admin', 'PROJECT_ENVIRONMENT:READ+DELETE', 'PROJECT_ENVIRONMENT');
|
||||
|
||||
|
||||
-- 项目成员
|
||||
|
@ -573,6 +577,10 @@ insert into user_group_permission (id, group_id, permission_id, module_id)
|
|||
values (uuid(), 'project_member', 'PROJECT_TRACK_PLAN:READ+CASE_BATCH_DELETE', 'PROJECT_TRACK_PLAN');
|
||||
insert into user_group_permission (id, group_id, permission_id, module_id)
|
||||
values (uuid(), 'project_member', 'PROJECT_TRACK_PLAN:READ+REPORT_DELETE', 'PROJECT_TRACK_PLAN');
|
||||
insert into user_group_permission (id, group_id, permission_id, module_id)
|
||||
values (uuid(), 'project_member', 'PROJECT_ENVIRONMENT:READ+CREATE', 'PROJECT_ENVIRONMENT');
|
||||
insert into user_group_permission (id, group_id, permission_id, module_id)
|
||||
values (uuid(), 'project_member', 'PROJECT_ENVIRONMENT:READ+DELETE', 'PROJECT_ENVIRONMENT');
|
||||
|
||||
-- 只读用户
|
||||
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
|
||||
|
|
Loading…
Reference in New Issue