Create permissions in Zope 2 on demand when a <permission /> directive is used
This package registers an event handler that initialises permissions on the fly. To use it, simply include its ZCML:
<include package="collective.autopermission" />
Then, you can use the <permission /> ZCML statement to define a new type of permission, without also needing to make the permission “spring into existence” via ClassSecurityInfo or similar.
- Fix deprecation warning
- Fix pep8
1.0b1 - March 11, 2009
- Initial release
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for collective.autopermission-1.0b2.tar.gz