Commit e67f65e6 authored by Sebastien Robin's avatar Sebastien Robin

disable the storage of permission list on modules


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@724 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b1573a93
...@@ -205,10 +205,12 @@ class ModuleTemplateItem(Implicit): ...@@ -205,10 +205,12 @@ class ModuleTemplateItem(Implicit):
self.module_id = module.getId() self.module_id = module.getId()
self.module_type = module.getPortalType() self.module_type = module.getPortalType()
self.module_permission_list = [] self.module_permission_list = []
for p in module.ac_inherited_permissions(1): # XXX Disabled because this makes the zexp file
name, value = p[:2] # very big (more than 40 Mo instead of 1 Mo)
permission=Permission(name,value,module) #for p in module.ac_inherited_permissions(1):
self.module_permission_list.append(permission) # name, value = p[:2]
# permission=Permission(name,value,module)
# self.module_permission_list.append(permission)
def install(self, local_configuration): def install(self, local_configuration):
portal = local_configuration.getPortalObject() portal = local_configuration.getPortalObject()
......
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