Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
start porting
Browse files Browse the repository at this point in the history
  • Loading branch information
goschtl committed Nov 5, 2010
1 parent 9280278 commit 618505f
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions src/grokcore/xmlrpc/ftesting.zcml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:grok="http://namespaces.zope.org/grok"
xmlns:browser="http://namespaces.zope.org/browser"
i18n_domain="grok"
package="grok">

<include package="zope.security" file="meta.zcml"/>

<permission title="grok.test"
id="grok.test"/>

<include package="grok" />
<grok:grok package="grok.ftests" />

<browser:defaultView name="index.html" />

<securityPolicy
component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
/>


<unauthenticatedPrincipal id="zope.anybody"
title="Unauthenticated User" />
<unauthenticatedGroup id="zope.Anybody"
title="Unauthenticated Users" />
<authenticatedGroup id="zope.Authenticated"
title="Authenticated Users" />
<everybodyGroup id="zope.Everybody"
title="All Users" />

<grant
permission="grok.test"
principal="zope.Authenticated"/>

<grant
permission="zope.View"
principal="zope.anybody"
/>

<principal
id="zope.mgr"
title="Manager"
login="mgr"
password="mgrpw"
/>

<principal
id="sample.user"
title="foo"
login="foo"
password="secret"
/>

<role id="zope.Manager" title="Site Manager" />
<grantAll role="zope.Manager" />
<grant role="zope.Manager" principal="zope.mgr" />
</configure>

0 comments on commit 618505f

Please sign in to comment.