zope.security.metaconfigure

Register class directive.

exception zope.security.metaconfigure.ProtectionDeclarationException[source]

Bases: exceptions.Exception

Security-protection-specific exceptions.

zope.security.metaconfigure.protectModule(module, name, permission)[source]

Set up a module checker to require a permission to access a name

If there isn’t a checker for the module, create one.