[Checkins] SVN: grok/trunk/src/grok/ftests/security/require.py
Remove useless grant: Managers are alwasy allowed to access
everything.
Philipp von Weitershausen
philikon at philikon.de
Fri May 16 14:53:53 EDT 2008
Log message for revision 86799:
Remove useless grant: Managers are alwasy allowed to access everything.
Changed:
U grok/trunk/src/grok/ftests/security/require.py
-=-
Modified: grok/trunk/src/grok/ftests/security/require.py
===================================================================
--- grok/trunk/src/grok/ftests/security/require.py 2008-05-16 18:41:50 UTC (rev 86798)
+++ grok/trunk/src/grok/ftests/security/require.py 2008-05-16 18:53:52 UTC (rev 86799)
@@ -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")
More information about the Checkins
mailing list