In a Plone site there is a permission called “access inactive portal content”. By default, this is granted to the roles “Manager” and “Owner”.
I want to grant this permission to the role “Editor” as well, and I know I can just use the corresponding checkbox in the “Security” tab in the ZMI, but I’d like to do it programmatically in some sort of setup script. How would I do that?
you have to create a new product and add a genericsetup step called “rolemap.xml” with this:
More info:
Bye, Giacomo