plone / Products.CMFPlacefulWorkflow

Plone product that allows you to define workflow policies that define content type to workflow mappings that can be applied in any sub-folder of your Plone site
1 stars 5 forks source link

Do the permission checks in zcml. #26

Closed mauritsvanrees closed 6 years ago

mauritsvanrees commented 6 years ago

This means we can stop using the raiseUnauthorized skin script. Also check for the 'CMFPlacefulWorkflow: Manage workflow policies' permission instead of the 'Manage portal' permission.

mauritsvanrees commented 6 years ago

Should be fine to merge on its own, but testing it in combination with https://github.com/plone/Products.CMFPlone/pull/2550.