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):
self.module_id = module.getId()
self.module_type = module.getPortalType()
self.module_permission_list = []
for p in module.ac_inherited_permissions(1):
name, value = p[:2]
permission=Permission(name,value,module)
self.module_permission_list.append(permission)
# XXX Disabled because this makes the zexp file
# very big (more than 40 Mo instead of 1 Mo)
#for p in module.ac_inherited_permissions(1):
# name, value = p[:2]
# permission=Permission(name,value,module)
# self.module_permission_list.append(permission)
def install(self, local_configuration):
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