diff --git a/support-files/iam/initial.json b/support-files/iam/initial.json index e5becdd3..f51daab7 100644 --- a/support-files/iam/initial.json +++ b/support-files/iam/initial.json @@ -1625,6 +1625,9 @@ "description_en": "", "type": "view", "related_resource_types": [], + "related_actions": [ + "platform_manage_access" + ], "version": 1 } }, @@ -1638,6 +1641,10 @@ "description_en": "", "type": "manage", "related_resource_types": [], + "related_actions": [ + "platform_manage_access", + "sla_priority_view" + ], "version": 1 } }, @@ -1765,6 +1772,9 @@ "description_en": "", "type": "view", "related_resource_types": [], + "related_actions": [ + "platform_manage_access" + ], "version": 1 } }, @@ -1778,6 +1788,10 @@ "description_en": "", "type": "manage", "related_resource_types": [], + "related_actions": [ + "platform_manage_access", + "global_settings_view" + ], "version": 1 } }, @@ -1791,6 +1805,9 @@ "description_en": "", "type": "view", "related_resource_types": [], + "related_actions": [ + "platform_manage_access" + ], "version": 1 } }, @@ -1804,6 +1821,10 @@ "description_en": "", "type": "manage", "related_resource_types": [], + "related_actions": [ + "notification_view", + "platform_manage_access" + ], "version": 1 } }, @@ -1846,6 +1867,9 @@ "description_en": "", "type": "view", "related_resource_types": [], + "related_actions": [ + "platform_manage_access" + ], "version": 1 } }, @@ -1859,6 +1883,10 @@ "description_en": "", "type": "manage", "related_resource_types": [], + "related_actions": [ + "platform_manage_access", + "ticket_state_view" + ], "version": 1 } }, @@ -2202,7 +2230,7 @@ ] }, { - "name": "平台管理", + "name": "平台", "name_en": "Administration", "actions": [], "sub_groups": [ @@ -2258,20 +2286,17 @@ ] }, { - "name": "任务模板", - "name_en": "Task Template", + "name": "优先级", + "name_en": "Priority", "actions": [ { - "id": "task_template_view" - }, - { - "id": "task_template_create" + "id": "sla_priority_view" }, { - "id": "task_template_manage" + "id": "sla_priority_manage" } ] - }, + }, { "name": "单据状态", "name_en": "Ticket State", @@ -2413,17 +2438,20 @@ ] }, { - "name": "SLA 优先级", - "name_en": "SLA Priority", + "name": "任务模板", + "name_en": "Task Template", "actions": [ { - "id": "sla_priority_view" + "id": "task_template_view" }, { - "id": "sla_priority_manage" + "id": "task_template_create" + }, + { + "id": "task_template_manage" } ] - } + } ] } ] @@ -2658,6 +2686,134 @@ } ] } + }, + { + "operation":"upsert_common_actions", + "data": [ + { + "name": "项目管理员", + "name_en": "service_superuser", + "actions": [ + { + "id": "project_view" + }, + { + "id": "project_edit" + }, + { + "id": "system_settings_manage" + }, + { + "id": "service_create" + }, + { + "id": "service_manage" + }, + { + "id": "service_view" + }, + { + "id": "catalog_create" + }, + { + "id": "catalog_edit" + }, + { + "id": "catalog_delete" + }, + { + "id": "field_create" + }, + { + "id": "field_view" + }, + { + "id": "field_edit" + }, + { + "id": "field_delete" + }, + { + "id": "user_group_create" + }, + { + "id": "user_group_edit" + }, + { + "id": "user_group_delete" + }, + { + "id": "user_group_view" + }, + { + "id": "triggers_create" + }, + { + "id": "triggers_view" + }, + { + "id": "triggers_manage" + } + ] + }, + { + "name": "平台管理员", + "name_en": "system_manager", + "actions": [ + { + "id": "project_create" + }, + { + "id": "platform_manage_access" + }, + { + "id": "public_fields_manage" + }, + { + "id": "public_apis_manage" + }, + { + "id": "public_task_template_manage" + }, + { + "id": "global_settings_view" + }, + { + "id": "global_settings_manage" + }, + { + "id": "notification_view" + }, + { + "id": "notification_manage" + }, + { + "id": "sla_priority_view" + }, + { + "id": "sla_priority_manage" + }, + { + "id": "ticket_state_view" + }, + { + "id": "ticket_state_manage" + } + ] + }, + { + "name": "统计信息查看", + "name_en": "operational_data_view", + "actions": [ + { + "id": "ticket_view" + }, + { + "id": "operational_data_view" + } + ] + } + ] } ] }