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

[minor] improve 403 (forbidden) HTML page #518

Open
jameshadfield opened this issue Apr 18, 2022 · 1 comment
Open

[minor] improve 403 (forbidden) HTML page #518

jameshadfield opened this issue Apr 18, 2022 · 1 comment

Comments

@jameshadfield
Copy link
Member

Current Behavior

Accessing a private group (or dataset within the private group) when when logged in but without access to said group currently returns a 403 with text/html with content "Forbidden"

Expected behavior

The page should be the similar to when attempting to access a non-existent group (e.g. what happens at https://nextstrain.org/groups/nothing-here) but with the banner text explaining that your account does not grant you access to this group. (Some websites choose to return a 404 in this case, but we have historically taken a different approach.)

Note: accessing the page when not logged in returns a login prompt, as expected.

@jameshadfield
Copy link
Member Author

This is essentially #774 but for a different (server-side) HTTP error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Backlog
Development

No branches or pull requests

1 participant