RevokeTablePermission

撤销用户的表权限

Server Alibabacloud Dataworks alibabacloud-dataworks-mcp-server
Category Destructive
Risk class Critical
Parameters 64 required

What RevokeTablePermission does on Alibabacloud Dataworks

AI agents call RevokeTablePermission to permanently remove resources in Alibabacloud Dataworks — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

ParameterTypeRequiredDescription
Actions string Yes 需要撤销的表的操作权限,一次撤销多种操作权限时使用逗号(,)分隔。目前仅支持撤销MaxCompute表的Select、Describe、Download等操作权限
TableName string Yes 需要撤销权限的MaxCompute表名称
WorkspaceId number Yes 需要撤销权限的MaxCompute表所属的DataWorks工作空间ID
RevokeUserId string 撤销表权限的阿里云账号ID
RevokeUserName string 撤销表权限的云账号名称。账号格式与MaxCompute的账号格式一致。-主账号为ALIYUN$+账号名。-子账号为RAM$+账号名。该参数与RevokeUserId参数配置一个即可。如果同时配置了该参数与RevokeUserId参数,但二者取值不同,则系统会以RevokeUserId参数的配置内容为准
MaxComputeProjectName string Yes 需要撤销权限的表所在的MaxCompute项目名称

Parameters from the server's own tool schema.

Why RevokeTablePermission needs a policy

An AI agent that decides to call RevokeTablePermission doesn't hesitate, doesn't double-check, and doesn't stop at one. Whatever it removes from Alibabacloud Dataworks is gone — there is no undo for destructive operations.

Questions about RevokeTablePermission

What does the RevokeTablePermission tool do? +

撤销用户的表权限. It is categorised as a Destructive tool in the Alibabacloud Dataworks MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

What parameters does RevokeTablePermission accept? +

RevokeTablePermission accepts 6 parameters: Actions, TableName, WorkspaceId, RevokeUserId, RevokeUserName, MaxComputeProjectName. Required: Actions, TableName, WorkspaceId, MaxComputeProjectName. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on RevokeTablePermission? +

Register the Alibabacloud Dataworks MCP server in PolicyLayer and add a rule for RevokeTablePermission: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Alibabacloud Dataworks. Nothing to install.

What risk level is RevokeTablePermission? +

RevokeTablePermission is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit RevokeTablePermission? +

Yes. Add a rate_limit block to the RevokeTablePermission rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block RevokeTablePermission completely? +

Set action: deny in the PolicyLayer policy for RevokeTablePermission. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides RevokeTablePermission? +

RevokeTablePermission is provided by the Alibabacloud Dataworks MCP server (alibabacloud-dataworks-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.