[odoo-tecnativa] Deactivate by default the Odoo Database Manager screen #11
Closed
opened 4 years ago by StephanSainleger
·
2 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(MISSING)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
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.
list_db
False
LIST_DB parameter allready exist, and is TRUE by default. You have to add this in compose:
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.