Commit 0bee523d authored by Tristan Cavelier's avatar Tristan Cavelier

Add DumbHTTPExtractionPlugin at site creation

parent 87cfa88f
......@@ -2090,6 +2090,8 @@ class ERP5Generator(PortalGenerator):
erp5security_dispatcher.addERP5GroupManager('erp5_groups')
erp5security_dispatcher.addERP5RoleManager('erp5_roles')
erp5security_dispatcher.addERP5UserFactory('erp5_user_factory')
erp5security_dispatcher.addERP5DumbHTTPExtractionPlugin(
'erp5_dumb_http_extraction')
# Register ERP5UserManager Interface
p.acl_users.erp5_users.manage_activateInterfaces(
('IAuthenticationPlugin',
......@@ -2098,6 +2100,8 @@ class ERP5Generator(PortalGenerator):
p.acl_users.erp5_roles.manage_activateInterfaces(('IRolesPlugin',))
p.acl_users.erp5_user_factory.manage_activateInterfaces(
('IUserFactoryPlugin',))
p.acl_users.erp5_dumb_http_extraction.manage_activateInterfaces(
('IExtractionPlugin',))
def setupPermissions(self, p):
permission_dict = {
......
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