Skip to content

Commit

Permalink
feat: 调整常用操作 --story=119850967
Browse files Browse the repository at this point in the history
  • Loading branch information
benero committed Sep 30, 2024
1 parent 37f33f3 commit c039931
Showing 1 changed file with 170 additions and 14 deletions.
184 changes: 170 additions & 14 deletions support-files/iam/initial.json
Original file line number Diff line number Diff line change
Expand Up @@ -1625,6 +1625,9 @@
"description_en": "",
"type": "view",
"related_resource_types": [],
"related_actions": [
"platform_manage_access"
],
"version": 1
}
},
Expand All @@ -1638,6 +1641,10 @@
"description_en": "",
"type": "manage",
"related_resource_types": [],
"related_actions": [
"platform_manage_access",
"sla_priority_view"
],
"version": 1
}
},
Expand Down Expand Up @@ -1765,6 +1772,9 @@
"description_en": "",
"type": "view",
"related_resource_types": [],
"related_actions": [
"platform_manage_access"
],
"version": 1
}
},
Expand All @@ -1778,6 +1788,10 @@
"description_en": "",
"type": "manage",
"related_resource_types": [],
"related_actions": [
"platform_manage_access",
"global_settings_view"
],
"version": 1
}
},
Expand All @@ -1791,6 +1805,9 @@
"description_en": "",
"type": "view",
"related_resource_types": [],
"related_actions": [
"platform_manage_access"
],
"version": 1
}
},
Expand All @@ -1804,6 +1821,10 @@
"description_en": "",
"type": "manage",
"related_resource_types": [],
"related_actions": [
"notification_view",
"platform_manage_access"
],
"version": 1
}
},
Expand Down Expand Up @@ -1846,6 +1867,9 @@
"description_en": "",
"type": "view",
"related_resource_types": [],
"related_actions": [
"platform_manage_access"
],
"version": 1
}
},
Expand All @@ -1859,6 +1883,10 @@
"description_en": "",
"type": "manage",
"related_resource_types": [],
"related_actions": [
"platform_manage_access",
"ticket_state_view"
],
"version": 1
}
},
Expand Down Expand Up @@ -2202,7 +2230,7 @@
]
},
{
"name": "平台管理",
"name": "平台",
"name_en": "Administration",
"actions": [],
"sub_groups": [
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"
}
]
}
}
]
}
]
Expand Down Expand Up @@ -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"
}
]
}
]
}
]
}

0 comments on commit c039931

Please sign in to comment.