Limiting the database to one or more databases

Bug #511160 reported by Sharoon Thomas http://openlabs.co.in
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Undecided
Unassigned

Bug Description

It should be possible to confine the the database selection in the login screen.

Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello,

As i understand you wants to restrict database. Then you can set options in config/openerp-web.cfg.

# Web client settings
[openerp-web]
# filter dblists based on url pattern?
# NONE: No Filter
# EXACT: Exact Hostname
# UNDERSCORE: Hostname_
# BOTH: Exact Hostname or Hostname_

dblist.filter = 'NONE' => display all database
dblist.filter = 'EXACT' => display only Hostname db in list. eg. localhost
dblist.filter = 'UNDERSCORE' => display db name start with localhost. eg.localhost_test
dblist.filter = 'BOTH' => display both UNDERSCORE, EXACT

If you have another idea may be related to db security then you can tell us :)

Thanks.

Revision history for this message
Sharoon Thomas http://openlabs.co.in (sharoonthomas) wrote :

Hi sma,

I have proposed a merge. Can you check if its Ok to merge or may be there's a better way to do that what i did.
Can you check?

https://code.launchpad.net/~sharoonthomas/openobject-client-web/5.0_login_dbname_restriction

Revision history for this message
Navrang Oza (noz-tiny) wrote :

Hello,

Implemented in stable.
Thanks.

Changed in openobject-client-web:
status: New → Fix Committed
Changed in openobject-client-web:
status: Fix Committed → Fix Released
milestone: none → 5.0.11
Revision history for this message
xrg (xrg) wrote :

Implemented limitation at server-side, too. Commit cb580fcf20360. Server will not report non-listed dbs to any client.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.