Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am using 7.0. My goal is to implement a IP address based authentication so that some users can login through the Internet and the others can only login from the Intranet.
Overriding res.users.check_credentials can plug additional authentication logic. So the only thing leave is how to access HttpRequest object,which contains Client IP address, within check_credentials method.
Can someone please shed some light on this? Thanks!
I think this is something that shouldn't be managed by OpenERP but by your network infrastructure. For example, you could consider to configure your server to only accept connections from the office LAN and give VPN access to the people who have the right to access it from outside the company. Not only is it much easier to configure (than coding this in OpenERP) but it can also easily extend to any other application in the LAN.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/13/13, 1:13 PM|
|Seen: 1619 times|
|Last updated: 3/16/15, 8:10 AM|