Bug 958194 - RFE: Implement a "remember me" functionality
Summary: RFE: Implement a "remember me" functionality
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Zanata
Classification: Retired
Component: Security, Usability
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
: ---
Assignee: Michelle Kim
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
: 961588 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-30 14:49 UTC by Laszlo Hornyak
Modified: 2015-07-31 01:47 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-31 01:47:25 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1092790 0 high CLOSED Expired sessions have poor usability 2021-02-22 00:41:40 UTC

Internal Links: 1092790

Description Laszlo Hornyak 2013-04-30 14:49:15 UTC
Description of problem:
The session time is very short on translate.zanata.org. A 'remember me' could help a lot to imporve the user experience.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Sean Flanigan 2013-05-01 01:59:04 UTC
Zanata should at least be remembering your username; let us know if this is not working.  

Unfortunately it would be a security risk (XSS) to authenticate based on a persistent cookie (ie a full "remember me" function). Ref: http://docs.jboss.com/seam/2.3.0.Final/reference/en-US/html/security.html#d0e8787

If you are using a Fedora login, login can be a bit slow, because FAS always asks whether you're sure you want to login to Zanata.  As a workaround, I recommend setting a password for your Zanata account to allow faster logins: https://translate.zanata.org/zanata/profile/view

Then when you log in, you can choose the Zanata logo on the right (instead of the Fedora login) and allow your browser to save the password.  Zanata's built-in authentication should always be the fastest way to log in to Zanata.


Alternatively, you can add another identity (eg Google) to your account here: https://translate.zanata.org/zanata/profile/identities

The login process will be slightly slower than a Zanata login, but it should still be faster than Fedora, and will save you from having to create another password.

Comment 3 Damian Jansen 2014-03-06 02:22:43 UTC
Are we rejecting this?

Comment 4 Ding-Yi Chen 2014-03-27 00:30:05 UTC
According to Issac, this feature is a nice-to-have, thus the priority and severity is low.

Comment 5 Ding-Yi Chen 2014-03-27 00:31:14 UTC
*** Bug 961588 has been marked as a duplicate of this bug. ***

Comment 6 Luke Brooker 2014-04-23 01:29:15 UTC
This should be more than a nice to have. We should remember logins for at least 24hours by default (kinit does) and then remember me should be an option that is turned on on the public instance. Remember me should last at least a month.

Plus the errors that are displayed when you are in the middle of something and then it log you out are useless if present at all.

Comment 7 Luke Brooker 2014-04-23 01:32:17 UTC
RE: Errors - https://bugzilla.redhat.com/show_bug.cgi?id=1059035

Comment 8 Sean Flanigan 2014-04-23 02:22:12 UTC
We could look at increasing the session timeout to 24 hours.

https://www.owasp.org/index.php/Session_Timeout
http://www.jtmelton.com/2012/04/17/year-of-security-for-java-week-16-set-a-soft-session-timeout/

Note that increasing the session timeout may cause Zanata to use quite a bit more memory, so we would need to watch that, and/or be ready to roll it back or reduce it to a few hours.  


The Seam manual still makes an excellent case against persistent cookie authentication, however popular it is: http://docs.jboss.com/seam/2.3.0.Final/reference/en-US/html/security.html#d0e8787

And as it says, browser-based "Remember Password" features are much safer than persistent cookie logins.

In terms of implementation, Seam's Remember Me functionality would require setting up a persistent token store.  It's not clear how you would set it up to expire tokens after a month, so there might be a bit more work there.


For this bug, why don't we try increasing the session timeout only, and see how that goes?

Comment 11 Damian Jansen 2015-07-14 00:21:18 UTC
Reassigned to PM

Comment 12 Zanata Migrator 2015-07-31 01:47:25 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-539


Note You need to log in before you can comment on or make changes to this bug.