Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access Denied in API causes redirect #8

Open
mikldt opened this issue Oct 1, 2013 · 0 comments
Open

Access Denied in API causes redirect #8

mikldt opened this issue Oct 1, 2013 · 0 comments
Assignees

Comments

@mikldt
Copy link
Member

mikldt commented Oct 1, 2013

For example, GETing /hardware/players/by_screen/1.json without appropriate permissions does a 302 redirect to /users/sign_in. Better would be to detect that this is a non-interactive format and render a 403 with empty data instead.

Some research is needed to decide whether this should be done on a piecemeal basis or just made part of the exception handler in Concerto.

@ghost ghost assigned mikldt Dec 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant