Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

User Query does not include the roles #70

Closed
ben181231 opened this issue Jul 7, 2016 · 1 comment
Closed

User Query does not include the roles #70

ben181231 opened this issue Jul 7, 2016 · 1 comment
Assignees
Milestone

Comments

@ben181231
Copy link
Contributor

ben181231 commented Jul 7, 2016

When querying user using user:query, currently the response does not include the user's roles:

{
  "result": [
    {
      "data": {
        "_id": "cd612328-3cf3-421f-af0e-474e06f6a9ac",
        "email": "user4@skygear.dev",
        "username": ""
      },
      "id": "cd612328-3cf3-421f-af0e-474e06f6a9ac",
      "type": "user"
    }
  ]
}
@royuen
Copy link
Contributor

royuen commented Jul 8, 2016

  • Change user query to be only called by admin
  • Return user role as well

@royuen royuen added the Focus label Jul 8, 2016
@royuen royuen assigned ben181231 and unassigned ben181231 Jul 8, 2016
@royuen royuen added this to the 0.14 milestone Jul 11, 2016
ben181231 pushed a commit to ben181231/skygear-server that referenced this issue Jul 11, 2016
ben181231 pushed a commit to ben181231/skygear-server that referenced this issue Jul 11, 2016
cheungpat added a commit that referenced this issue Jul 12, 2016
@rickmak rickmak closed this as completed Jul 21, 2016
@rickmak rickmak removed the In Review label Jul 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants