/usr/share/pyshared/zope/site/configure.zcml is in python-zope.site 3.9.2-0ubuntu3.
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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | <configure xmlns="http://namespaces.zope.org/zope"
i18n_domain="zope">
<interface interface="zope.interface.Interface" />
<!-- Site and Site Manager Framework -->
<module module=".interfaces">
<allow attributes="ISite" />
</module>
<class class=".site.LocalSiteManager">
<implements
interface="zope.annotation.interfaces.IAttributeAnnotatable" />
<require
permission="zope.ManageSite"
interface="zope.container.interfaces.IReadContainer" />
<require
permission="zope.ManageSite"
interface="zope.component.interfaces.IComponentLookup
zope.container.interfaces.IWriteContainer" />
</class>
<class class="zope.component.registry.UtilityRegistration">
<require
permission="zope.ManageSite"
interface="zope.component.interfaces.IUtilityRegistration"
/>
</class>
<class class=".site.SiteManagementFolder">
<factory />
<implements
interface="zope.annotation.interfaces.IAttributeAnnotatable"
/>
<require
permission="zope.ManageSite"
interface="zope.container.interfaces.IReadContainer" />
<require
permission="zope.ManageSite"
interface="zope.container.interfaces.IWriteContainer"
/>
</class>
<adapter
for="zope.component.interfaces.IComponentLookup"
provides="zope.filerepresentation.interfaces.IDirectoryFactory"
factory=".site.SMFolderFactory"
permission="zope.ManageContent"
/>
<adapter factory=".site.SiteManagerAdapter" />
<subscriber
for="zope.component.interfaces.ISite
zope.container.interfaces.IObjectMovedEvent"
handler=".site.changeSiteConfigurationAfterMove"
/>
<class class=".folder.Folder">
<factory
id="zope.app.content.Folder"
title="Folder"
description="Minimal folder"
/>
<allow
attributes="getSiteManager"
/>
<require
permission="zope.ManageServices"
attributes="setSiteManager"
/>
<require
permission="zope.View"
interface="zope.container.interfaces.IReadContainer"
/>
<require
permission="zope.ManageContent"
interface="zope.container.interfaces.IWriteContainer"
/>
</class>
<adapter
provides="zope.location.interfaces.ISublocations"
for=".interfaces.IFolder"
factory=".folder.FolderSublocations"
/>
<subscriber handler=".site.siteManagerContainerRemoved" />
</configure>
|