/usr/share/pyshared/zc/datetimewidget/ftesting.zcml is in python-zc.datetimewidget 0.7.0-0ubuntu2.
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 | <configure xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="zc.datetimewidget">
<include
zcml:condition="installed zope.app.zcmlfiles"
package="zope.app.zcmlfiles"
/>
<include
zcml:condition="not-installed zope.app.zcmlfiles"
package="zope.app"
/>
<include package="zope.login" />
<include package="zope.password" />
<include package="zope.securitypolicy" file="meta.zcml" />
<securityPolicy
component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
<include package="zope.securitypolicy" />
<include package="zc.resourcelibrary" file="meta.zcml"/>
<include package="zc.resourcelibrary" />
<include package="zc.datetimewidget" />
<include package="zc.datetimewidget.demo"/>
<!-- we ought to use this for the tests
<include package="zope.app.i18n.tests" />
-->
<view
type="zope.publisher.interfaces.browser.IBrowserRequest"
for="zope.schema.interfaces.IDatetime"
provides="zope.app.form.interfaces.IInputWidget"
factory="zc.datetimewidget.datetimewidget.DatetimeWidget"
permission="zope.Public"
/>
<view
type="zope.publisher.interfaces.browser.IBrowserRequest"
for="zope.schema.interfaces.IDate"
provides="zope.app.form.interfaces.IInputWidget"
factory="zc.datetimewidget.datetimewidget.DateWidget"
permission="zope.Public"
/>
<role id="zope.Anonymous" title="Everybody"
description="All users have this role implicitly" />
<role id="zope.Manager" title="Site Manager" />
<role id="zope.Member" title="Site Member" />
<grantAll role="zope.Manager" />
<principal
id="zope.manager"
title="Administrator"
login="mgr"
password="mgrpw" />
<grant
role="zope.Manager"
principal="zope.manager"
/>
</configure>
|