[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0-broken/ftesting.zcml Removed the global grant for the test manager. This *should* have no

Jim Fulton jim at zope.com
Fri Aug 27 10:47:24 EDT 2004


Log message for revision 27293:
  Removed the global grant for the test manager.  This *should* have no
  effect, since there is a local grant.  But thre are a number of
  protected objects that don't get location information and, thus, can't
  acquire local grants.
  
  This change causes the following 12 tests to fail:
  
  testSkinsLayersView (zope.app.apidoc.viewmodule.ftests.ViewModuleTests)
    Unauthorized: ('name', 'zope.app.apidoc.UseAPIDoc')
  
  testDomainOverview (zope.app.applicationcontrol.browser.ftests.test_translationdomaincontrol.ZODBControlTest)
    Unauthorized: ('browserDefault', 'zope.ManageApplication')
  
  testReload (zope.app.applicationcontrol.browser.ftests.test_translationdomaincontrol.ZODBControlTest)
    Unauthorized: ('browserDefault', 'zope.ManageApplication')
  
  testZODBControlOverview (zope.app.applicationcontrol.browser.ftests.test_zodbcontrol.ZODBControlTest)
    Unauthorized: ('browserDefault', 'zope.ManageApplication')
  
  test_inplace_rename_multiple (zope.app.container.browser.ftests.test_contents.Test)
    Unauthorized: ('moveable', 'zope.ManageContent')
  
  test_inplace_rename_single (zope.app.container.browser.ftests.test_contents.Test)
    Unauthorized: ('moveable', 'zope.ManageContent')
  
  test_paste_for_deleted_clipboard_item (zope.app.container.browser.ftests.test_contents.Test)
    Traceback (most recent call last):
    Unauthorized: ('copyableTo', 'zope.ManageContent')
  
  test_pasteable_for_deleted_clipboard_item (zope.app.container.browser.ftests.test_contents.Test)
    Unauthorized: ('copyableTo', 'zope.ManageContent')
  
  test (zope.app.generations.browser.ftests.TestDatabaseSchema)
    Unauthorized: ('browserDefault', 'zope.ManageApplication')
  
  testAllRolePermissions (zope.app.securitypolicy.browser.ftests.RolePermissionsTest)
    Unauthorized: ('grantPermissionToRole', 'zope.Security')
  
  testPrincipalRoles (zope.app.securitypolicy.browser.ftests.PrincipalRolesTest)
    Unauthorized: ('getName', 'zope.Security')
  
  testPrincipalRolesApply (zope.app.securitypolicy.browser.ftests.PrincipalRolesTest)
    Unauthorized: ('assignRoleToPrincipal', 'zope.Security')
  


Changed:
  U   Zope3/branches/ZopeX3-3.0-broken/ftesting.zcml


-=-
Modified: Zope3/branches/ZopeX3-3.0-broken/ftesting.zcml
===================================================================
--- Zope3/branches/ZopeX3-3.0-broken/ftesting.zcml	2004-08-27 14:39:10 UTC (rev 27292)
+++ Zope3/branches/ZopeX3-3.0-broken/ftesting.zcml	2004-08-27 14:47:24 UTC (rev 27293)
@@ -26,8 +26,6 @@
       login="mgr"
       password="mgrpw" />
 
-  <grant role="zope.Manager" principal="zope.mgr" />
-
   <!-- Bootstrap principal used to make local grant to the principal above -->
   <principal
       id="zope.globalmgr"



More information about the Zope3-Checkins mailing list