This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |