This question has been flagged
2 Replies
2624 Views

Hi, I want to limit user connection to be one connection at a time.

Right now it seems that if I log in using admin username, I can log in with the same admin username from another place. As far as I know, OpenERP uses authentication on user interaction, for example, click log in or any button. This means that I can use one username on many location.

I want to limit the user connection. For example, if admin username has been logged in, therefore, I cannot use admin username to pass the log in page from another location once again until the previous admin log in is logged out.

Does anyone experience the solution to this behaviour ? Could you please tell me or any suggestions ?

 

Avatar
Discard
Best Answer

GonG,

We have implemented the solution by a simple way, by adding a boolean called Loggedin! It is set to e True when user logs in and set False when user logs out and session is expired.

We shall publish the module once the code is well tested.

Thanks.

Avatar
Discard
Best Answer

Hello , I am very interested in this, you would have a sample code ? Thank you

Avatar
Discard