The Plone website has a permission called "access to inactive portal content." By default, this is provided to the Manager and Owner roles.
I want to grant this permission to the Editor role, and I know that I can just use the corresponding checkbox on the Security tab in ZMI, but I would like to do this programmatically in some kind of setup script. How can I do it?
source share