Commit 042d4dd6 authored by Sebastien Robin's avatar Sebastien Robin

fixed a security declaration, by the same time fixed the asParentSqlExpression...

fixed a security declaration, by the same time fixed the asParentSqlExpression attribute error found by Kevin


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2920 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 149b06f8
......@@ -657,7 +657,7 @@ be a problem)."""
getObjectIds = CMFBTreeFolder.objectIds
# Overloading
security.declareProtected( Permissions.AccessContentsInformation, 'asParentSqlExpression' )
security.declareProtected( Permissions.AccessContentsInformation, 'getParentSqlExpression' )
def getParentSqlExpression(self, table = 'catalog', strict_membership = 0):
"""
Builds an SQL expression to search children and subclidren
......
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