Variable revokeRolePermissionSchemaConst
revokeRolePermissionSchema: ZodObject<
{
action: ZodEnum<
{
cancel: "cancel";
create: "create";
delete: "delete";
read: "read";
update: "update";
},
>;
conditions: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
roleKey: ZodString;
subject: ZodEnum<
{
Invitation: "Invitation";
Member: "Member";
Organization: "Organization";
Role: "Role";
RoleGrant: "RoleGrant";
Workspace: "Workspace";
},
>;
},
$strict,
> = grantRolePermissionSchema
撤权入参(旧
RevokeRolePermissionDto·与授予同形,语义差异在服务端按 conditions 是否给精确撤单行)。