Stop log-in button from redirecting user to home page
|Assignee:||José Raddaoui Marín||% Done:|
|Target version:||Release 2.0.1|
|Google Code Legacy ID:||Tested version:|
1) Browse for an archival description or other kind of record
2) Click the log-in button, fill in credentials
User is always redirected to the home page
If the user is logging in, they should not be redirected from the current page. Instead, the page should reload with the options allowed from their user permissions available (button block, main menu, etc.)
Seems to me that redirecting on log-out is not as bad - there are some cases where the record should not be available to an unauthenticated user. But I think the ideal behaviour is: if the record is publicly available, logging in/out should not redirect the user. If an authenticated user is looking at a record not available to public users and then logs out, THEN the page should reload and direct users to the home page.
#5 Updated by Dan Gillean over 8 years ago
- Status changed from QA/Review to Verified
- Target version changed from Release 2.1.0 to Release 2.0.1
Nice. Thanks for this. Default behaviour will still redirect user to home page on log out (which I think is fine), but everywhere I could think to test it, the page merely reloaded and presented admin options without redirecting me after log-in. Much better. Since this is done, I've bumped the target version to 2.0.1.