From 4298d75426a2fe90352ed1d6a5794317ab813366 Mon Sep 17 00:00:00 2001 From: Syed Sarmad Sabih Date: Wed, 27 Mar 2024 16:42:16 +0500 Subject: [PATCH] Update deploy.rst Fix typo db_filter to the correct usage dbfilter closes odoo/documentation#8392 X-original-commit: 0fbf9995f0168f1e509f7d4b8083a58c44b338a1 Signed-off-by: Xavier Platteau (xpl) --- content/administration/on_premise/deploy.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/administration/on_premise/deploy.rst b/content/administration/on_premise/deploy.rst index fa117af90..517773fa2 100644 --- a/content/administration/on_premise/deploy.rst +++ b/content/administration/on_premise/deploy.rst @@ -9,7 +9,7 @@ internet. .. warning:: If you are setting up a public server, be sure to check our :ref:`security` recommendations! -.. _db_filter: +.. _dbfilter: dbfilter ======== @@ -573,12 +573,12 @@ security-related topics: - Use appropriate database filters ( :option:`--db-filter `) to restrict the visibility of your databases according to the hostname. - See :ref:`db_filter`. + See :ref:`dbfilter`. You may also use :option:`-d ` to provide your own (comma-separated) list of available databases to filter from, instead of letting the system fetch them all from the database backend. -- Once your ``db_name`` and ``db_filter`` are configured and only match a single database +- Once your ``db_name`` and ``dbfilter`` are configured and only match a single database per hostname, you should set ``list_db`` configuration option to ``False``, to prevent listing databases entirely, and to block access to the database management screens (this is also exposed as the :option:`--no-database-list ` @@ -722,7 +722,7 @@ management screens. the system administrator, including provisioning of new databases and automated backups. Be sure to setup an appropriate ``db_name`` parameter -(and optionally, ``db_filter`` too) so that the system can determine the target database +(and optionally, ``dbfilter`` too) so that the system can determine the target database for each request, otherwise users will be blocked as they won't be allowed to choose the database themselves.