feat: admin - groups edit UI

This commit is contained in:
NGPixel
2018-03-26 01:11:49 -04:00
parent 7793df9bd4
commit 346493f845
13 changed files with 275 additions and 16 deletions

View File

@@ -0,0 +1,12 @@
mutation ($id: Int!) {
groups {
delete(id: $id) {
responseResult {
succeeded
errorCode
slug
message
}
}
}
}

View File

@@ -0,0 +1,22 @@
query ($id: Int!) {
groups {
single(id: $id) {
id
name
rights {
id
path
role
exact
allow
}
users {
id
name
email
}
createdAt
updatedAt
}
}
}