tl-its-umich-edu / canvas-app-explorer

A Web application that presents a list of Canvas external (LTI) tools with details. When integrated within Canvas, the user can search for specific LTI tool(s), and add or remove those tools from Canvas courses.
Apache License 2.0
4 stars 6 forks source link

Limit tool launches and tool visibility to users with staff roles #246

Closed ssciolla closed 2 years ago

ssciolla commented 2 years ago

Students are currently not blocked in any way from using CAE, so the tool still launches, with some less than ideal behavior: a smaller subset of tools are listed and the add/remove buttons throw errors (as one would expect with OAuth implemented). Until we spend more time on handling the student role (#29), I think the most straightforward solution would be to block launches for any roles other instructor, admin, and sub-account admin. We may also want to limit tool visibility to “admins” for now.

TEST PLAN:

ziegler1960 commented 2 years ago