fixed permissions
This commit is contained in:
parent
b59eccd9d1
commit
0f1626fae5
@ -652,27 +652,20 @@ export const USERS_ACTIONS: ActionInfo[] = [
|
|||||||
{
|
{
|
||||||
name: "Change Permissions",
|
name: "Change Permissions",
|
||||||
args: {
|
args: {
|
||||||
name: "Add Permissions",
|
properties: {
|
||||||
requestType: "post",
|
Permissions: {
|
||||||
endpoint: "/servers/{server_id}/permissions",
|
type: "number",
|
||||||
permissions: Permission.Admin,
|
title: "Permissions",
|
||||||
response_action: "Ignore",
|
permissions: true,
|
||||||
args: {
|
}
|
||||||
properties: {
|
},
|
||||||
Permissions: {
|
type: "object",
|
||||||
type: "number",
|
required: [],
|
||||||
title: "Permissions",
|
default: {
|
||||||
permissions: true,
|
Permissions: 0
|
||||||
}
|
},
|
||||||
},
|
title: "Set User Permissions",
|
||||||
type: "object",
|
definitions: definitions,
|
||||||
required: [],
|
|
||||||
default: {
|
|
||||||
Permissions: 0
|
|
||||||
},
|
|
||||||
title: "Set User Permissions",
|
|
||||||
definitions: definitions,
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
requestType: "patch",
|
requestType: "patch",
|
||||||
endpoint: "/users/{user_id}/permissions",
|
endpoint: "/users/{user_id}/permissions",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user