did anyone use the following (earlier it was collective.sharingroles for Plone3) to extend the Roles Roles/Permissions available in the Sharing Tab ?
I've tried adding the sharing.xml where it is supposed to be but it looks like the new Roles are not shown in the Sharing Tab, both with pre-existing permissions and with new ones also defined in the rolemap.xml
I upgraded from an earlier version to 3.0 pinning it in buildout.cfg / locks.cfg but nothing changes,
i'm quite confused in how i'm supposed to use the feature of the sharing.xml declaration.
I've fixed this by creating a localroles.py file in my module with:
from zope.interface import implements
from plone.app.workflow.interfaces import ISharingPageRole
from plone.app.workflow.permissions import DelegateRoles
class AcquirerRole(object):
implements(ISharingPageRole)
title = u"Can XXXXXX"
required_permission = DelegateRoles
And then registering an Utility in my module's configure.zcml