diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py index e411ea35550015ead135f6fdac09c47fe25a8a19..14d613896e6176ace44a9adb33ad721ae1971ab9 100755 --- a/product/ERP5/ERP5Site.py +++ b/product/ERP5/ERP5Site.py @@ -882,6 +882,10 @@ class ERP5Generator(PortalGenerator): p.acl_users.manage_addProduct['PluggableAuthService'].addZODBUserManager('zodb_users') p.acl_users.manage_addProduct['PluggableAuthService'].addZODBGroupManager('zodb_groups') p.acl_users.manage_addProduct['PluggableAuthService'].addZODBRoleManager('zodb_roles') + # Add CMF Portal Roles + #XXX Maybe it will no longer be required once PAS is the standard + p.acl_users.zodb_roles.addRole('Member') + p.acl_users.zodb_roles.addRole('Reviewer') # Register ZODB Interface p.acl_users.zodb_users.manage_activateInterfaces(('IAuthenticationPlugin', 'IUserEnumerationPlugin','IUserAdderPlugin'))