<sharing
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
i18n:domain="my.addon">
<role
id="Editor in chief"
title="a Editor in chief"
i18n:attributes="title"
permission="Sharing page: Delegate roles"
required_permission="Sharing page: Delegate roles" />
</sharing>
I found two attributes for the permission handling,
- one in the interfaces of plone.app.workflow
- and another in the README
Question: Are they both the same or is there a difference or an incorrect use by me? Should I only use one of these two? If yes, which?
Update
with the hint of @jaroel :
<sharing
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
i18n:domain="my.addon">
<role
id="Editor in chief"
title="a Editor in chief"
i18n:attributes="title"
permission="Sharing page: Delegate roles" />
</sharing>