[odoo-tecnativa] Deactivate by default the Odoo Database Manager screen #11

Closed
opened 3 years ago by StephanSainleger · 2 comments
Collaborator

In Odoo, we have a screen /web/database/manager which allow the administrator to dump or restore one or several Odoo database.
According to Odoo Security advices, if these screens are not used, it is safer to deactivate them: https://www.odoo.com/documentation/12.0/setup/deploy.html#database-manager-security (text in yellow box).

From my own (and short) experience, we only use the db manager screen for demo or dev instances, very few for production.

Then I suggest to deactivate by default the de manager screen at the install of the Odoo container, and to create an entry in compose file to activate it if needed.

  • Odoo parameter concerned: list_db
  • Default value proposed : False
In Odoo, we have a screen `/web/database/manager` which allow the administrator to dump or restore one or several Odoo database. According to Odoo Security advices, if these screens are not used, it is safer to deactivate them: https://www.odoo.com/documentation/12.0/setup/deploy.html#database-manager-security (text in yellow box). From my own (and short) experience, we only use the db manager screen for demo or dev instances, very few for production. Then I suggest to **deactivate by default the de manager screen at the install of the Odoo container**, and to create an entry in compose file to activate it if needed. * Odoo parameter concerned: `list_db` * Default value proposed : `False`

LIST_DB parameter allready exist, and is TRUE by default. You have to add this in compose:

docker-compose:
    environment:
      LIST_DB: False

In many install I use db manager. So we make it TRUE by default. I think we can leave this as is, as it permit to create manual backup, copy, test, and so on, and password is randomly generated .. if you need to disactivate this, you can add previous exemple.

LIST_DB parameter allready exist, and is TRUE by default. You have to add this in compose: ``` docker-compose: environment: LIST_DB: False ``` In many install I use db manager. So we make it TRUE by default. I think we can leave this as is, as it permit to create manual backup, copy, test, and so on, and password is randomly generated .. if you need to disactivate this, you can add previous exemple.

I close this, feel free to reopen if there is some probleme with it.

I close this, feel free to reopen if there is some probleme with it.
njeudy closed this issue 3 years ago
njeudy added the
wontfix
label 3 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.