CreatePermissionApplyOrder
Submit permission requests for MaxCompute tables in DataWorks MCP Server. Specify user IDs, required actions, and access objects for streamlined admin review and approval.
Instructions
创建权限申请单 *This Tool has a 'MCP Resource',please request CreatePermissionApplyOrder(MCP Resource) to get more examples for using this tool.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ApplyObject | Yes | 申请对象列表 | |
ApplyReason | Yes | 申请的原因。用于管理员进行评估审批 | |
ApplyType | No | ||
ApplyUserIds | Yes | 申请权限的阿里云账户UID,当同时为多个账号申请权限时,使用逗号(,)隔开 | |
CatalogName | No | ||
Deadline | No | 申请权限的到期时间。此处需要输入一个unix时间戳,不输入默认到期时间为2065年1月1日。如果MaxCompute项目未开启LabelSecurity,或申请的表字段安全等级为0或小于等于申请账号的安全等级时,只能申请永久权限 | |
EngineType | No | 申请权限的计算引擎类型。目前仅支持取值为odps,表示仅支持申请MaxCompute计算引擎的权限 | |
MaxComputeProjectName | No | 申请权限的MaxCompute项目名称 | |
OrderType | No | 申请单类型。目前仅支持取值为1,表示对象ACL权限申请 | |
WorkspaceId | No | 申请权限的MaxCompute项目所属的DataWorks工作空间ID |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"ApplyObject": {
"description": "申请对象列表",
"items": {
"additionalProperties": false,
"properties": {
"Actions": {
"description": "申请的权限类型,一次申请多种类型权限时使用逗号(,)分隔。目前仅支持申请Select、Describe、Drop、Alter、Update、Download类型",
"type": "string"
},
"ColumnMetaList": {
"description": "字段对象列表",
"items": {
"additionalProperties": false,
"properties": {
"Actions": {
"type": "string"
},
"Name": {
"description": "申请目标列的权限,此处输入列名称。如果申请全表的权限,则需要输入表的所有列名。仅当MaxCompute项目开启了labelSecurity,才可以申请部分列的权限。如果MaxCompute项目没有开启labelSecurity,则只能申请全表的权限",
"type": "string"
}
},
"required": [
"Name"
],
"type": "object"
},
"type": "array"
},
"Name": {
"description": "申请的对象。目前仅支持申请MaxCompute表的权限,此处需要输入目标表的名称",
"type": "string"
}
},
"required": [
"Name"
],
"type": "object"
},
"type": "array"
},
"ApplyReason": {
"description": "申请的原因。用于管理员进行评估审批",
"type": "string"
},
"ApplyType": {
"type": "string"
},
"ApplyUserIds": {
"description": "申请权限的阿里云账户UID,当同时为多个账号申请权限时,使用逗号(,)隔开",
"type": "string"
},
"CatalogName": {
"type": "string"
},
"Deadline": {
"description": "申请权限的到期时间。此处需要输入一个unix时间戳,不输入默认到期时间为2065年1月1日。如果MaxCompute项目未开启LabelSecurity,或申请的表字段安全等级为0或小于等于申请账号的安全等级时,只能申请永久权限"
},
"EngineType": {
"description": "申请权限的计算引擎类型。目前仅支持取值为odps,表示仅支持申请MaxCompute计算引擎的权限",
"type": "string"
},
"MaxComputeProjectName": {
"description": "申请权限的MaxCompute项目名称",
"type": "string"
},
"OrderType": {
"description": "申请单类型。目前仅支持取值为1,表示对象ACL权限申请"
},
"WorkspaceId": {
"description": "申请权限的MaxCompute项目所属的DataWorks工作空间ID"
}
},
"required": [
"ApplyUserIds",
"ApplyReason",
"ApplyObject"
],
"type": "object"
}