plone.app.discussion/plone/app/discussion/upgrades.zcml

35 lines
1.1 KiB
Plaintext
Raw Normal View History

<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup">
2012-01-09 16:31:52 +01:00
<genericsetup:upgradeStep
source="*"
destination="100"
title="Update plone.app.discussion setting registry"
description=""
profile="plone.app.discussion:default"
handler=".upgrades.update_registry"
/>
2012-01-09 16:31:52 +01:00
<genericsetup:upgradeStep
title="edit comments and delete own comments"
description="reload registry config to enable new fields edit_comment_enabled and delete_own_comment_enabled"
source="100"
destination="101"
handler=".upgrades.update_registry"
sortkey="1"
profile="plone.app.discussion:default"
/>
<genericsetup:upgradeStep
title="delete comments and delete own comments"
description="reload rolemap config to enable new permissions 'Delete comments' and 'Delete own comments'"
source="101"
destination="102"
handler=".upgrades.update_rolemap"
sortkey="1"
profile="plone.app.discussion:default"
/>
</configure>