[REM] Removed disabled_db=True from ir_http's auth="none"
authorFabien Meghazi <fme@openerp.com>
Thu, 30 Jan 2014 09:21:52 +0000 (10:21 +0100)
committerFabien Meghazi <fme@openerp.com>
Thu, 30 Jan 2014 09:21:52 +0000 (10:21 +0100)
commit1daa7db8b06e011c09fab34f309a5d24bf524a36
treeee5ad14c75de804fc9df7860b8683e05c2b37305
parent279c5e67ec04284a2c0fb390a7e7100820ba325a
[REM] Removed disabled_db=True from ir_http's auth="none"
[MOV] ensure_db() helper from http module to web module

Since we removed auth="admin" in favor of auth="none" with explicit superuser id usage,
the disable_db clause in auth_none() has only sense for the /web and /web/login routes.
The web module is an exception because it's routes are registered for the nodb dispatching.
This is why the ensure_db() helper is moved to web client and will take care of the
web's auth="none" routes that needs a db to work with

bzr revid: fme@openerp.com-20140130092152-h6elwf2yerhd9xey
openerp/addons/base/ir/ir_http.py
openerp/http.py