/usr/share/pyshared/zope/security/tests/redefineperms.zcml is in python-zope.security 3.8.3-2ubuntu1.
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 | <configure
xmlns="http://namespaces.zope.org/zope"
xmlns:meta="http://namespaces.zope.org/meta"
i18n_domain="zope"
>
<include package="zope.security" file="meta.zcml" />
<meta:directive
name="dummy"
namespace="http://namespaces.zope.org/zope"
schema=".test_module_directives.IDummy"
handler=".test_module_directives.dummy" />
<permission
id="zope.View"
title="[view-permission] View"
/>
<permission
id="zope.Security"
title="[change-security-settings-permission] Change security settings"
/>
<meta:redefinePermission
from="zope.View"
to="zope.Security"
/>
<dummy
perm="zope.View" />
</configure>
|