Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5 ตอบกลับ
15286 มุมมอง

How can I protect the database manager URL?

  can I change the url, or put any login?  

 myurlserver/web/database/manager#action=database_manager


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

1.To hide the database manager, set list_db = False in the configuration file. 

2.To define the database to be used, set dbfilter = my_db in the same file

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

in your odoo instance configuration file use the configuration parametter:

list_db = False

This will disable the database manager. link and url access (web/database/manager#action=database_manager)

อวตาร
ละทิ้ง

If we are using list_db = False, then db backup do not work properly.

คำตอบที่ดีที่สุด

Use this to resolve the issue. Clean and secure login: hide the Manage Databases link on the Odoo login page and throws up 404 error if user tries to access web/database/manager. Works even when list_db = True, allowing modules like OCA's auto_backup to operate normally while keeping the login UI tidy.

Hide Manage Databases Link

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

The below video shows how it hide the databases even we access the link:

https://www.youtube.com/watch?v=HTixATyjR7g

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

http://www.numberspeaks.com/2020/06/03/disable-database-manager-access-in-odoo/

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
System redirect to a wrong url แก้ไขแล้ว
1
พ.ค. 25
948
0
มี.ค. 25
1443
0
ม.ค. 25
3576
0
พ.ย. 24
1544
0
มี.ค. 24
1524