AnsweredAssumed Answered

What permission for /api/v1/users/:id ?

Question asked by Lesley De Keyser on Dec 7, 2019
Latest reply on Dec 9, 2019 by Jay Savage



I'm creating an app for Canvas as a project for my college and I'm encountering a problem.

When requesting a user, other than the authenticated user, I get "user not authorized to perform that action".


I would like to get the userId and name of other users too. If possible also the email.

I could store every user in my own database once logged into my application, but that would be a bad solution in my opinion. Can I retrieve these values? If so what permissions/roles do I need to give the user?


I would say that because Students and Teachers have the "Users - view list" course role it would work out of the box but apparently not.


Thank you very much,