[FIX] Document : It should be allowed to browse through FTP,disregard to --no-databse-list option
bzr revid: jvo@tinyerp.com-20100512130756-2mtjv7k4kfpdckkg
This commit is contained in:
parent
36ef5cb46c
commit
47c1d21759
|
@ -283,8 +283,8 @@ class db(netsvc.ExportService):
|
|||
## Not True: in fact, check if connection to database is possible. The database may exists
|
||||
return bool(sql_db.db_connect(db_name))
|
||||
|
||||
def exp_list(self):
|
||||
if not tools.config['list_db']:
|
||||
def exp_list(self, document=False):
|
||||
if not tools.config['list_db'] and not document:
|
||||
raise Exception('AccessDenied')
|
||||
|
||||
db = sql_db.db_connect('template1')
|
||||
|
|
Loading…
Reference in New Issue