Commit da391820 authored by Jérome Perrin's avatar Jérome Perrin

Catalog: Allow SQLQuery from restricted environment

parent a0c4e19e
......@@ -37,7 +37,8 @@ def initialize(context):
from AccessControl import ModuleSecurityInfo, ClassSecurityInfo
ModuleSecurityInfo('Products.ZSQLCatalog.SQLCatalog').declarePublic(
'ComplexQuery', 'Query', 'NegatedQuery', 'AndQuery', 'OrQuery')
'ComplexQuery', 'Query', 'NegatedQuery', 'AndQuery', 'OrQuery',
'SQLQuery')
from Query import Query, SimpleQuery
from SearchKey import SearchKey
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