diff --git a/src/actions.tsx b/src/actions.tsx index c004abf..7dc08c0 100644 --- a/src/actions.tsx +++ b/src/actions.tsx @@ -652,27 +652,20 @@ export const USERS_ACTIONS: ActionInfo[] = [ { name: "Change Permissions", args: { - name: "Add Permissions", - requestType: "post", - endpoint: "/servers/{server_id}/permissions", - permissions: Permission.Admin, - response_action: "Ignore", - args: { - properties: { - Permissions: { - type: "number", - title: "Permissions", - permissions: true, - } - }, - type: "object", - required: [], - default: { - Permissions: 0 - }, - title: "Set User Permissions", - definitions: definitions, - } + properties: { + Permissions: { + type: "number", + title: "Permissions", + permissions: true, + } + }, + type: "object", + required: [], + default: { + Permissions: 0 + }, + title: "Set User Permissions", + definitions: definitions, }, requestType: "patch", endpoint: "/users/{user_id}/permissions",