Skip to content

Commit

Permalink
Merge from the trunk:
Browse files Browse the repository at this point in the history
------------------------------------------------------------------------
r86799 | philikon | 2008-05-16 20:53:52 +0200 (Fri, 16 May 2008) | 2 lines

Remove useless grant: Managers are alwasy allowed to access everything.
  • Loading branch information
philikon committed May 16, 2008
1 parent 6e84be9 commit 9f814bd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/grok/ftests/security/require.py
Expand Up @@ -10,9 +10,6 @@
When we log in (e.g. as a manager), we can access the view just fine:
>>> from zope.securitypolicy.rolepermission import rolePermissionManager
>>> rolePermissionManager.grantPermissionToRole('cave.ViewPainting',
... 'zope.Manager')
>>> browser.addHeader('Authorization', 'Basic mgr:mgrpw')
>>> browser.handleErrors = False
>>> browser.open("http://localhost/@@painting")
Expand Down

0 comments on commit 9f814bd

Please sign in to comment.