Commit e681b15a authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Eteri

ZSQLCatalog: Downgrade buildSQLQuery security to public

This method only returns caller's input, with catalog schema applied, so
it does not expose data, so "private" is too restrictive.
parent fbe8dbcb
...@@ -2405,7 +2405,7 @@ class Catalog(Folder, ...@@ -2405,7 +2405,7 @@ class Catalog(Folder,
extra_column_list=extra_column_list, extra_column_list=extra_column_list,
from_expression=from_expression) from_expression=from_expression)
security.declarePrivate('buildSQLQuery') security.declarePublic('buildSQLQuery')
def buildSQLQuery(self, query_table='catalog', REQUEST=None, def buildSQLQuery(self, query_table='catalog', REQUEST=None,
ignore_empty_string=1, only_group_columns=False, ignore_empty_string=1, only_group_columns=False,
limit=None, extra_column_list=(), limit=None, extra_column_list=(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment