summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorFabien Meghazi <fme@odoo.com>2017-07-28 15:55:50 +0200
committerFabien Meghazi <fme@odoo.com>2017-08-03 13:49:51 +0200
commitb34e00540e20b4aa8ca5a04d5f8097fb1d8b74fe (patch)
tree035b7f7241716d082a4ecf2daa44b54cc143be3a /addons/web/static/src/js
parent5658e337c3e0385d3d116e34404ef4086b3e94f0 (diff)
[IMP] http/db: change behaviour of list_dbs() when `--db-filter` is not provided (Closed #18526)
In case `--db-filter` is not provided and `--database` is passed, Odoo will not fetch the list of databases available in the postgres server anymore because it does not have anything to match against this list. Instead, `list_dbs()` will use the value of `--database` as a comma separated list of exposed databases. This allows better security hardening in postgres access rights. Basically, that means that those commands $ odoo-bin -d foobar $ odoo-bin -d foo,bar,baz are now respectively equivalent to those commands $ odoo-bin -d foobar --db-filter='^foobar$' $ odoo-bin -d foo,bar,baz --db-filter='^(foo|bar|baz)$' The old behaviour can still be used with this command: $ odoo-bin -d foobar --db-filter='.*'
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions