Changeset 4578


Ignore:
Timestamp:
27 Dec 2009, 19:41:28 (15 years ago)
Author:
uli
Message:
  • Use zope.securitypolicy instead of zope.app.securitypolicy.
  • Register all roles/perms from standard site.zcml. Otherwise authenticated users won't have view permissions with Grok > 1.0.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-layout/src/waeup/ftesting.zcml

    r3523 r4578  
    1010  <!-- Typical functional testing security setup -->
    1111  <securityPolicy
    12       component="zope.app.securitypolicy.zopepolicy.ZopeSecurityPolicy"
     12      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
    1313      />
    1414
     
    1717      title="Unauthenticated User"
    1818      />
     19  <unauthenticatedGroup id="zope.Anybody"
     20      title="Unauthenticated Users" />
     21  <authenticatedGroup id="zope.Authenticated"
     22      title="Authenticated Users" />
     23  <everybodyGroup id="zope.Everybody"
     24      title="All Users" />
     25
    1926  <grant
    2027      permission="zope.View"
    21       principal="zope.anybody"
     28      principal="zope.Anybody"
     29      />
     30  <grant
     31      permission="zope.app.dublincore.view"
     32      principal="zope.Anybody" />
     33  <grant
     34      permission="zope.View"
     35      principal="zope.Everybody"
    2236      />
    2337
Note: See TracChangeset for help on using the changeset viewer.