Here are the modules which use 'declareObjectPublic' in code::
$ find src -name "*.py" | xargs grep -l declareObjectPublic src/OFS/misc_.py src/HelpSys/ObjectRef.py src/Products/Sessions/__init__.py src/Products/Sessions/BrowserIdManager.py src/Products/Sessions/SessionDataManager.py src/Products/Transience/TransientObject.py src/Products/Five/security.py
$ find eggs -name "*.py" | xargs grep -l declareObjectPublic eggs/five.formlib-1.0.4-py2.6.egg/five/formlib/objectwidget.py
Classes can also get '__roles__' assigned as None via 'Products.Five.security.protectClass'. I hacked that method to dump the names of such classes::
Products.Five.metaclass.AbsoluteURL'> Products.Five.metaclass.OFSTraversableAbsoluteURL'> Products.Five.metaclass.RootAbsoluteURL'> Products.Five.metaclass.MenuAccessView'> Products.Five.metaclass.FormMacros'> Products.Five.metaclass.SimpleViewClass (from eggs/.../zope/app/form/browser/widget_macros.pt) Products.Five.metaclass.SimpleViewClass (from eggs/.../zope/app/form/browser/add.pt) Products.Five.metaclass.SimpleViewClass (from src/Products/Five/skin/five_template.pt)
Here are the modules which use 'declareObjectP ublic' in code::
$ find src -name "*.py" | xargs grep -l declareObjectPublic ObjectRef. py Sessions/ __init_ _.py Sessions/ BrowserIdManage r.py Sessions/ SessionDataMana ger.py Transience/ TransientObject .py Five/security. py
src/OFS/misc_.py
src/HelpSys/
src/Products/
src/Products/
src/Products/
src/Products/
src/Products/
$ find eggs -name "*.py" | xargs grep -l declareObjectPublic five.formlib- 1.0.4-py2. 6.egg/five/ formlib/ objectwidget. py
eggs/
Classes can also get '__roles__' assigned as None via Five.security. protectClass' . I hacked that method to
'Products.
dump the names of such classes::
Products. Five.metaclass. AbsoluteURL' > Five.metaclass. OFSTraversableA bsoluteURL' > Five.metaclass. RootAbsoluteURL '> Five.metaclass. MenuAccessView' > Five.metaclass. FormMacros' > Five.metaclass. SimpleViewClass ./zope/ app/form/ browser/ widget_ macros. pt) Five.metaclass. SimpleViewClass ./zope/ app/form/ browser/ add.pt) Five.metaclass. SimpleViewClass Five/skin/ five_template. pt)
Products.
Products.
Products.
Products.
Products.
(from eggs/..
Products.
(from eggs/..
Products.
(from src/Products/