Is it possible to make a limit how much users can connect in OpenERP? I know you can set limit per PostgreSQL user, but usually only one PsotgreSQL user connects to openerp, so it would be best to be able to somehow set limit per OpenERP users. For example let say there are 5 total users. Admin user would not count into max connections, and the rest 4 would count. So let say there would be limit of 3 concurrent connections. So if three users (without counting admin) would be connected to OpenERP, the fourth could not connect. Does anyone know how to do it?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
Users only 'connect' to OpenERP when they are actively using the system, such as when clicking a button.
If 100 users are reading a document in OpenERP, none of them are logged in. Once they click a button to move to another document they are logged in but are immediately logged out until they click another button.
So it would be hard to know who is actually logged in because no-one is ever logged in longer than the time it takes to process a button click.
Can you take a step back and post the problem you are trying to solve?
If you really want to do this, you probably need a step before people login to OpenERP to manage the user limits you want (and to force people to log off.)
We need to make a limit how many users can be logged into system at any given time in specific database. I tried db_maxconn parameter, but it does count connections differently and it does not reduce the count when you log out, so this options seems may not work.
Hello Tomas Parnarauskas,
DId you got the solution or still not ?
I have same issue in my side so if you get the solution then please put your remarks with solution.
Thanks in advance
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
3
Dec 23
|
18441 | ||
|
3
Nov 21
|
6179 | ||
|
0
Aug 17
|
5901 | ||
|
1
Mar 15
|
4513 | ||
|
1
Mar 15
|
7523 |