Last change
on this file since 7278 was
6278,
checked in by uli, 14 years ago
|
Add extended bools widget. This one accepts also '1', 'true', 'yes' as True values, which is handy when importing CSV
files. We have to register this new widget overriding the default. Maybe a bit overkill?
|
-
Property svn:style set to
native
|
File size:
1.4 KB
|
Line | |
---|
1 | <configure |
---|
2 | xmlns="http://namespaces.zope.org/zope" |
---|
3 | i18n_domain="waeup.sirp" |
---|
4 | package="waeup.sirp" |
---|
5 | > |
---|
6 | |
---|
7 | <include package="grok" /> |
---|
8 | <includeOverrides package="waeup.sirp" /> |
---|
9 | |
---|
10 | <!-- Typical functional testing security setup --> |
---|
11 | <securityPolicy |
---|
12 | component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy" |
---|
13 | /> |
---|
14 | |
---|
15 | <unauthenticatedPrincipal |
---|
16 | id="zope.anybody" |
---|
17 | title="Unauthenticated User" |
---|
18 | /> |
---|
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 | |
---|
26 | <!-- grant |
---|
27 | permission="zope.View" |
---|
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.Authenticated" |
---|
36 | /> |
---|
37 | <grant |
---|
38 | permission="zope.app.dublincore.view" |
---|
39 | principal="zope.Authenticated" |
---|
40 | /> |
---|
41 | <grant |
---|
42 | permission="waeup.Public" |
---|
43 | principal="zope.Everybody" |
---|
44 | /> |
---|
45 | <grant |
---|
46 | permission="waeup.Anonymous" |
---|
47 | principal="zope.Anybody" |
---|
48 | /> |
---|
49 | |
---|
50 | |
---|
51 | <principal |
---|
52 | id="zope.mgr" |
---|
53 | title="Manager" |
---|
54 | login="mgr" |
---|
55 | password="mgrpw" |
---|
56 | /> |
---|
57 | |
---|
58 | <role id="zope.Manager" title="Site Manager" /> |
---|
59 | <grantAll role="zope.Manager" /> |
---|
60 | <grant role="zope.Manager" principal="zope.mgr" /> |
---|
61 | |
---|
62 | </configure> |
---|
Note: See
TracBrowser for help on using the repository browser.