[Checkins] SVN: grok/branches/0.11/src/grok/ftests/security/preserve_permissions.py Use the old securitypolicy package.
Uli Fouquet
uli at gnufix.de
Fri Dec 12 09:36:55 EST 2008
Log message for revision 93970:
Use the old securitypolicy package.
Changed:
U grok/branches/0.11/src/grok/ftests/security/preserve_permissions.py
-=-
Modified: grok/branches/0.11/src/grok/ftests/security/preserve_permissions.py
===================================================================
--- grok/branches/0.11/src/grok/ftests/security/preserve_permissions.py 2008-12-12 14:36:02 UTC (rev 93969)
+++ grok/branches/0.11/src/grok/ftests/security/preserve_permissions.py 2008-12-12 14:36:54 UTC (rev 93970)
@@ -18,7 +18,7 @@
However, if we make a grant, e.g. on the root object, we can access
the view just fine:
- >>> from zope.securitypolicy.interfaces import IPrincipalPermissionManager
+ >>> from zope.app.securitypolicy.interfaces import IPrincipalPermissionManager
>>> root = getRootFolder()
>>> root_perms = IPrincipalPermissionManager(root)
>>> root_perms.grantPermissionToPrincipal('zope.ManageContent',
More information about the Checkins
mailing list