<configure
    xmlns="http://namespaces.zope.org/zope"
    i18n_domain="collective.autopermission">

    <subscriber
        for="zope.security.interfaces.IPermission
             zope.component.interfaces.IRegistered"
        handler=".permissions.create_permission"
        />

</configure>
