FS#1861 - Login-Page should redirect after login to the page, the user wanted to see
When some url to a bug is redirected to the login page, because the user does not have the right to see the bug without login, the user should be redirected after the login to the url he wanted to see.
Maybe redirect to /login/?next=/task/X and put the next-url in a hidden field in the login-form, so flyspray can redirect to the correct page after login.
Even preserving anchor-urls (#comment-YYYY) would be cool, but i guess this needs Javascript to work.
Loading...
Available keyboard shortcuts
- Alt + l Login Dialog / Logout
- Alt + a Add new task
- Alt + m My searches
- Alt + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + e ↵ Enter Edit this task
- Alt + w watch task
- Alt + y Close Task
Task Editing
- Alt + s save task
Mmh, for example sharing a bug accessible only for users with access right to view the task /index.php?do=details&task_id=1
Instead of forcing a HTTP Redirect in scripts/details.php at line 21
replacing it with showing only the error message does the trick.
I will not add this to github master at this moment, need some researching about possible (security) implications before doing it.
Reminder sends (jabber and emails) links of the reminded tasks, so it happens quite often ⇒ raised priority
Done for links leading to tasks.
Links with #anchor keeping should be no extra problem.
Next todo: links to /?do=newtask and /?do=newtask&project=?
A user reported problems with the return_to redirect when Flyspray is behind a reversed proxy.
(Flyspray up to 1.0-rc6, current '1.0-rc7 dev' too)