Commit 4c7016dc authored by Jérome Perrin's avatar Jérome Perrin

Update allowedRolesAndUsers docstring.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6974 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e0e87b59
...@@ -73,7 +73,8 @@ class IndexableObjectWrapper(CMFCoreIndexableObjectWrapper): ...@@ -73,7 +73,8 @@ class IndexableObjectWrapper(CMFCoreIndexableObjectWrapper):
def allowedRolesAndUsers(self): def allowedRolesAndUsers(self):
""" """
Return a list of roles and users with View permission. Return a list of roles and users with Access contents
information permission.
Used by PortalCatalog to filter out items you're not allowed to see. Used by PortalCatalog to filter out items you're not allowed to see.
""" """
ob = self.__ob ob = self.__ob
...@@ -527,7 +528,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject): ...@@ -527,7 +528,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
return property_dict return property_dict
security.declarePrivate('getDynamicRelatedKeyList') security.declarePrivate('getDynamicRelatedKeyList')
def getDynamicRelatedKeyList(self, sql_catalog_id=None,**kw): def getDynamicRelatedKeyList(self, sql_catalog_id=None, **kw):
""" """
Return the list of dynamic related keys. Return the list of dynamic related keys.
This method will try to automatically generate new related key This method will try to automatically generate new related key
...@@ -537,9 +538,6 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject): ...@@ -537,9 +538,6 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
destination_title | category,catalog/title/z_related_destination destination_title | category,catalog/title/z_related_destination
default_destination_title | category,catalog/title/z_related_destination default_destination_title | category,catalog/title/z_related_destination
""" """
if len(kw)>0:
# import pdb;pdb.set_trace()
pass
related_key_list = [] related_key_list = []
base_cat_id_list = self.portal_categories.getBaseCategoryList() base_cat_id_list = self.portal_categories.getBaseCategoryList()
default_string = 'default_' default_string = 'default_'
......
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