fixed permissions
This commit is contained in:
parent
b59eccd9d1
commit
0f1626fae5
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user