User Custom Data / Showing in UI via Custom JS / Permissions

rtoon
Community Contributor

We're in the process of storing custom user data in Canvas using the API to support an LTI that needs data we can't otherwise display to them (user's home campus.)

https://canvas.instructure.com/doc/api/users.html#method.custom_data.set_data

Since the data will already be in there, I'd like to be able to allow teachers/campus administrators to see a given user's home campus. I've managed to successfully inject the data into a page using custom javascript but right now it look like only account admins can retrieve the data. Everybody else gets a 401 error.

Does anybody know more about the permissions required for custom data or has anybody implemented something similar?

Labels (1)
Users who also had this question