Community mailing list archives
Re: Module Contribution - Odoo - Restrict Multiple Sign in for Same Userby
On 31 Mar 2015, at 12:47, Sandesh Rao <email@example.com> wrote:
A few of our prospects had raised concerns over the security aspects of odoo mentioning that a user with proper credentials could login from multiple machines / devices at the same time. This, according to them, should not be allowed within the ERP system. If a user has already logged in, the ERP should not allow another login attempt from the same userid, until the user has logged off from his existing session or the lifetime of the user session has expired.
To address this concern we have come up with a module - Restrict Multiple Sign in for Same User. You can find this module here - http://www.nevprobusinesssolutions.com/download/
We have also uploaded the same to the Odoo app store - https://www.odoo.com/apps/modules/8.0/single_login/ . In this, we have kept the user's session lifetime as 2 minutes. If the user session is active (i.e. browser of the user is not closed), the expiry time of the cookie will keep on getting incremented. During this time, if another login attempt happens from a different browser or machine for the same userid, the system would not log in that user.
Hope you find this useful. Your feedback and suggestions are welcome !
Nevpro Business Solutions(NBS) Pvt. Ltd.
Ph: (+91) 022-66736577 / 78
CRM | ERP | POS | BI
Serpent Consulting Services Pvt. Ltd., Jay Vora