Commit b55c8069 authored by Mohamadou Mbengue's avatar Mohamadou Mbengue

2010-06-28 mohamadou

* correct the script and add the portal type of anonymous procedure in egov_groups

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36640 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 122c0ba4
......@@ -31,6 +31,7 @@
from Testing import ZopeTestCase
from Products import ERP5Security
from Products import PluggableAuthService
from zLOG import LOG, WARNING, INFO
def enableEgovProcedureLogin(self, portal_type):
'''
......@@ -55,6 +56,7 @@ def enableEgovProcedureLogin(self, portal_type):
ptype_list = acl_users.egov_groups.portal_type_list
if not portal_type in ptype_list:
ptype_list = ptype_list + (portal_type,)
acl_users.egov_groups.manage_changeProperties(portal_type_list=ptype_list,)
return '- %s Login Enabled' % portal_type
def setUpEGovSecurityManager(self):
......
652
\ No newline at end of file
653
\ No newline at end of file
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