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
user event link throws error #4344
Comments
There really isn't any way to get from the user link to the school link. Neither are technically 'public' but the schools link is at least accessible for everyone in the school. We can, for sure, at least put up a nice 404 error and not the error garbage that is there currently. |
On third thought - after taking a look we can get from our hash to an offering. |
need a specific 404 error page for users |
i wired up a new route however, we can't tell why the event was "not found" - whether it was b/c of missing permissions b/c of user mismatch, or because the event itself is gone. here's a screenshot of the the page that the user gets redirected to, with some placeholder text. @saschaben - what should the actual messaging be? |
I'm thinking maybe: Event Not Found
|
if a permalink for a user event is accessed by someone who is not the original user, or who does not have a direct association like the original user, it will throw an error.
EX: on UCSF stage, the link https://ilios-stage.ucsf.edu/events/U20170501O94257 is only accessible to those learners in the B1 group; however we don't provide any info on the error to explain this. The "public" event link for this event would be https://ilios-stage.ucsf.edu/events/S0120170501O94257.
Ideally, we should find a way to inform & redirect users to the proper link for public viewing of events.
The text was updated successfully, but these errors were encountered: