plone / plone.restapi

RESTful API for Plone.
http://plonerestapi.readthedocs.org/
84 stars 73 forks source link

Startup error: plone.app.contentrules.ManageContentRules permission not found #1644

Closed mauritsvanrees closed 1 year ago

mauritsvanrees commented 1 year ago

See report by @1letter on the community forum. plone.restapi uses a permission from plone.app.contentrules, but does not load its zcml. Depending on the order in which the various packages get loaded, startup may fail.

Also, contentrules might become a "core add-on", and become a dependency of Plone instead of Products.CFMPlone. While we are at it, we could load the code conditionally.