Ignore:
Timestamp:
05/04/07 15:27:10 (13 years ago)
Author:
pjotr
Message:

Trash folder viewable for anyone, folder view will only show stuff for managers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LargeSectionFolder.py

    r1698 r1704  
    10441044    security = ClassSecurityInfo() 
    10451045 
    1046     def getTrashFolderContents(self): 
    1047         """ Get contents for trash folder """ 
    1048         catalog = getToolByName(self, 'portal_catalog') 
    1049         results = catalog.searchResults(path = {'query' : '/'.join(self.getPhysicalPath()), 
    1050                                                 'depth' : 1 }, 
    1051                                         sort_on = 'getObjPositionInParent', 
    1052                                         ) 
    1053         return results 
    1054  
    10551046         
    10561047registerType(LargeContentFolder, PROJECTNAME) 
Note: See TracChangeset for help on using the changeset viewer.