hypothesis / hypothesis/lms

Handle permissions error in unauthorized assignment reconfiguration

Open
#5,159 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
53
Forks
16
Avg merge
14d 5h
Merged PRs (30d)
14

Description

Currently, when called as an JSON API, if the request is unauthorized to continue it renders an error template.

Should it return a JSON response instead? How would the FE deal with this situation?

_Originally posted by @seanh in https://github.com/hypothesis/lms/pull/5120#discussion_r1127934152_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.