illinois / queue

A microservice queue for holding open office hours
University of Illinois/NCSA Open Source License
82 stars 36 forks source link

Fix: Autocomplete turned off for Staff #314

Closed andrewstec closed 4 years ago

andrewstec commented 4 years ago

Description: A staff user would attempt to add another staff user and experience a permissions error where an Autocomplete component would attempt to fetch user information that the staff role should not have access to. It rightly resulted in a back-end error being received by the user on the front-end UI.

Fix: Enable autocorrect for the admin user role, but only allow manual entries for the staff user role.

Original issue filed here: https://github.com/illinois/queue/issues/305

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with ZEIT Now (learn more). To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/illinois/queue/tecrvxdpig ✅ Preview: In Progress

andrewstec commented 4 years ago

Any time! Thanks for accepting the fix :)