Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot update staff member's permissions #3432

Closed
dominik-zeglen opened this issue Dec 11, 2018 · 1 comment
Closed

Cannot update staff member's permissions #3432

dominik-zeglen opened this issue Dec 11, 2018 · 1 comment
Labels
bug graphql Issues related to the GraphQL API
Projects
Milestone

Comments

@dominik-zeglen
Copy link
Contributor

dominik-zeglen commented Dec 11, 2018

What I'm trying to achieve

To add or remove permissions from a staff member.

Steps to reproduce the problem

  1. Execute the following query
mutation {
  staffUpdate(id: "insert-id-here", input: {permissions:["IMPERSONATE_USERS"]}) {
    errors {
      field
      message
    }
  }
}
  1. Get an error:
Unknown permission: IMPERSONATE_USERS

What I expected to happen

To properly add IMPERSONATE_USERS permission.

@dominik-zeglen dominik-zeglen added bug graphql Issues related to the GraphQL API labels Dec 11, 2018
@dominik-zeglen dominik-zeglen added this to the Week 50 milestone Dec 11, 2018
@dominik-zeglen dominik-zeglen added this to To do in GraphQL API via automation Dec 11, 2018
@maarcingebala
Copy link
Member

Resolved in #3434.

GraphQL API automation moved this from To do to Done Dec 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug graphql Issues related to the GraphQL API
Projects
No open projects
GraphQL API
  
Done
Development

No branches or pull requests

2 participants