Package Products :: Package ZenUtils :: Package patches :: Module dirviewmonkey
[hide private]
[frames] | no frames]

Module dirviewmonkey

source code

This module patches CMFCore DirectoryViews to allow unauthenticated users access to filesystem-based resources. This is necessary for ZenDeviceACL to function.

Functions [hide private]
 
read(self)
Find the files to read, either the old security and properties type or the new metadata type
source code
 
prepareContents(self, registry, register_subdirs=0) source code
Variables [hide private]
  logger = logging.getLogger('CMFCore.DirectoryView')
Function Details [hide private]

read(self)

source code 

Find the files to read, either the old security and properties type or the new metadata type

Decorators:
  • @monkeypatch(FSMetadata)

prepareContents(self, registry, register_subdirs=0)

source code 
Decorators:
  • @monkeypatch('Products.CMFCore.DirectoryView.DirectoryInformation')