Skip to content

Commit

Permalink
Use the old securitypolicy package.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulif committed Dec 12, 2008
1 parent ce16345 commit e4e714e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grok/ftests/security/preserve_permissions.py
Expand Up @@ -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',
Expand Down

0 comments on commit e4e714e

Please sign in to comment.