[Checkins] SVN: grok/branches/0.12/src/grok/ftests/security/require.py Merge from the trunk:

Philipp von Weitershausen philikon at philikon.de
Fri May 16 15:00:40 EDT 2008


Log message for revision 86802:
  Merge from the trunk:
  
  ------------------------------------------------------------------------
  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.
  
  

Changed:
  U   grok/branches/0.12/src/grok/ftests/security/require.py

-=-
Modified: grok/branches/0.12/src/grok/ftests/security/require.py
===================================================================
--- grok/branches/0.12/src/grok/ftests/security/require.py	2008-05-16 18:57:16 UTC (rev 86801)
+++ grok/branches/0.12/src/grok/ftests/security/require.py	2008-05-16 19:00:39 UTC (rev 86802)
@@ -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