mirror of
https://github.com/lldap/lldap.git
synced 2026-07-25 17:58:44 +00:00
app: Add a way to manage a user's group memberships
This commit is contained in:
committed by
nitnelave
parent
480f48f820
commit
7aab9e8cf5
@@ -0,0 +1,5 @@
|
||||
mutation AddUserToGroup($user: String!, $group: Int!) {
|
||||
addUserToGroup(userId: $user, groupId: $group) {
|
||||
ok
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
query GetGroupList {
|
||||
groups {
|
||||
id
|
||||
displayName
|
||||
}
|
||||
}
|
||||
@@ -7,6 +7,7 @@ query GetUserDetails($id: String!) {
|
||||
lastName
|
||||
creationDate
|
||||
groups {
|
||||
id
|
||||
displayName
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
mutation RemoveUserFromGroup($user: String!, $group: Int!) {
|
||||
removeUserFromGroup(userId: $user, groupId: $group) {
|
||||
ok
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user