#4865 (Ask to sign in when anonymous requests valid url)
40 · by Luc Saffre · in Developers · assigned to Sharif Mehedi
Kurzbeschreibung
Kinder
Kommentare
- 3 Jahre, 7 Monate ago von Luc Saffre about #4865 (Ask to sign in when anonymous requests valid url) : Good. But try to redirect to the URL after sign in.
- 3 Jahre, 7 Monate ago von Sharif Mehedi about #4865 (Ask to sign in when anonymous requests valid url) : I wrote some code to not break the frontend in case of a DoesNotExist exception.
- 3 Jahre, 7 Monate ago von Luc Saffre about #4865 (Ask to sign in when anonymous requests valid url) : Yes. The DoesNotExist comes because we have a get_user_queryset(), which is needed for Ticket and Comment. And we can leave this message as it is. For an anonymous user there is not such ticket. But the error page should include two links: one to sign in and another to go home.
- 3 Jahre, 7 Monate ago von Sharif Mehedi about #4865 (Ask to sign in when anonymous requests valid url) : it raises DoesNotExist exception, where as it should raise permission denied.
- 3 Jahre, 7 Monate ago von Luc Saffre about #4865 (Ask to sign in when anonymous requests valid url) : Any update on this?
- 3 Jahre, 8 Monate ago von Luc Saffre about #4865 (Ask to sign in when anonymous requests valid url) : How to reproduce: Go to noi1r, sign in, open a ticket, copy the browser's address, sign out, paste the address.
- 3 Jahre, 8 Monate ago von Luc Saffre about #4865 (Ask to sign in when anonymous requests valid url) : Created new Ticket #4865 (Ask to sign in when anonymous requests valid url).