/usr/share/pyshared/zope/app/localpermission/configure.zcml is in python-zope.app.localpermission 3.7.2-0ubuntu6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | <configure
xmlns="http://namespaces.zope.org/zope"
xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="zope"
>
<class class=".permission.LocalPermission">
<factory
id="zope.app.security.Permission"
/>
<implements
zcml:condition="installed zope.annotation"
interface="zope.annotation.interfaces.IAttributeAnnotatable"
/>
<allow
interface="zope.security.interfaces.IPermission"
/>
<require
permission="zope.Security"
set_schema="zope.security.interfaces.IPermission"
/>
</class>
<subscriber
for="zope.security.interfaces.IPermission
zope.component.interfaces.IRegistered"
handler=".permission.setIdOnActivation"
/>
<subscriber
for="zope.security.interfaces.IPermission
zope.component.interfaces.IUnregistered"
handler=".permission.unsetIdOnDeactivation"
/>
</configure>
|