Currently users are only allowed to access their own resources (courses, assignments,...). API keys associated with admin users are not allowed to access all resources (courses, and assignments, ...).
In the web interface, the admin can see all courses.
Suggested Solution
API keys associated with an admin users should be authorized to access all resources
Cc:
Hi
Pain
Currently users are only allowed to access their own resources (courses, assignments,...). API keys associated with admin users are not allowed to access all resources (courses, and assignments, ...).
In the web interface, the admin can see all courses.
Suggested Solution
API keys associated with an admin users should be authorized to access all resources
Allow admins to bypass authorization in https://github.com/WING-NUS/SSID/blob/master/lib/api_keys_handler.rb
Tasks
Acceptance Criteria
More Information
From @huyuxin0429
Screenshots
Thanks!