/usr/share/pyshared/zope/browserresource/configure.zcml is in python-zope.browserresource 3.12.0-0ubuntu1.
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 37 38 39 | <configure xmlns="http://namespaces.zope.org/zope">
<include file="meta.zcml" package="zope.component" />
<include file="meta.zcml" package="zope.security" />
<adapter factory=".resource.AbsoluteURL" />
<adapter factory=".file.FileETag" />
<view
for="zope.component.interfaces.ISite"
type="zope.publisher.interfaces.browser.IDefaultBrowserLayer"
name=""
factory=".resources.Resources"
permission="zope.Public"
allowed_interface="zope.publisher.interfaces.browser.IBrowserPublisher"
/>
<class class=".file.FileResource">
<allow
interface="zope.publisher.interfaces.browser.IBrowserPublisher"
attributes="GET HEAD __call__"
/>
</class>
<class class=".i18nfile.I18nFileResource">
<allow
interface="zope.publisher.interfaces.browser.IBrowserPublisher"
attributes="GET HEAD __call__"
/>
</class>
<class class=".directory.DirectoryResource">
<allow
interface="zope.publisher.interfaces.browser.IBrowserPublisher"
attributes="get __getitem__"
/>
</class>
</configure>
|