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

Stop using raiseUnauthorized #25

Closed mauritsvanrees closed 5 years ago

mauritsvanrees commented 5 years ago

In one of the templates we call the raiseUnauthorized.py Python skin script from CMFPlone, which we want to remove. On master, the templates were moved from skins to browser, so that makes it easy to arrange the permission checking in zcml instead. We check for the Manage portal permission in a couple of places, but that should be the "CMFPlacefulWorkflow: Manage workflow policies" permission instead.

mauritsvanrees commented 5 years ago

Meanwhile fixed.