Commit 43b30456 authored by Mayoro Diagne's avatar Mayoro Diagne

2010-06-22 mayoro

* use catalog search and filter validated EGov Type

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36507 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fb701a65
......@@ -54,7 +54,8 @@
<item>
<key> <string>_body</string> </key>
<value> <string>portal_types = context.getPortalObject().portal_types\n
portal_type_list = portal_types.contentValues(filter={\'portal_type\':\'EGov Type\'})\n
portal_type_list = portal_types.searchFolder(portal_type=\'EGov Type\', validation_state = \'validated\')\n
\n
portal_type_anon_list = ()\n
portal_type_auth_list = ()\n
for portal_type in portal_type_list:\n
......@@ -77,6 +78,14 @@ return portal_type_auth_list\n
<key> <string>_params</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment