feat: update user

This commit is contained in:
Nick
2019-08-17 18:29:58 -04:00
parent 379d58d069
commit 823ff1bc61
14 changed files with 255 additions and 65 deletions

View File

@@ -48,9 +48,12 @@ type UserMutation {
id: Int!
email: String
name: String
providerKey: String
providerId: String
): UserResponse @auth(requires: ["manage:users", "manage:system"])
newPassword: String
groups: [Int]
location: String
jobTitle: String
timezone: String
): DefaultResponse @auth(requires: ["manage:users", "manage:system"])
delete(
id: Int!
@@ -59,11 +62,6 @@ type UserMutation {
resetPassword(
id: Int!
): DefaultResponse
setPassword(
id: Int!
passwordRaw: String!
): DefaultResponse
}
# -----------------------------------------------