This document contains comments from migrating a very old ERP5 site with
old security to PAS based + roles based security model.
Table of Contents
I wrote the following script (not the most beautiful):
types_tool = context.portal_types
ptype = types_tool[ptype]
portal = context.getPortalObject()
for ptype in types_tool.objectIds():
In the end, I would like to be able to massively upgrade the security of a site without pain and in real time.