fourdigits.remotemembrane released
A package used to login to a site based on authentication from another site.
Wait, what?
fourdigits.remotemembrane is a PAS plugin, that delegates to a membrane PAS plugin in another Plone site within the same Zope instance.
Usecase
We have a group of four Plone sites in which one of them contains all the membrane objects. We needed all of the Plone sites to do authentication and authorisation on those membrane objects.
The PAS plugin implents the following API:
RemoteMembraneUserManager(MembraneUserManager)
:: IAuthenticationPlugin
:: IUserEnumerationPlugin
:: IUserIntrospection
:: IUserManagement
:: IMembraneUserChanger
RemoteMembraneUserFactory(MembraneUserFactory)
:: IMembraneUserFactoryPlugin
RemoteMembraneRoleManager(MembraneRoleManager)
:: IMembraneRoleManagerPlugin
:: IRolesPlugin
RemoteMembranePropertyManager(MembranePropertyManager)
:: IPropertiesPlugin
:: IMutablePropertiesPlugin
RemoteMembraneGroupManager(MembraneGroupManager)
:: IMembraneGroupManagerPlugin
:: IGroupEnumerationPlugin
:: IGroupsPlugin
Usage
Just add the plugins you need as normal plugins in acl_users and fill in the id of the remote Plone site.
Download / forks
We're on bitbucket: https://bitbucket.org/fourdigits/fourdigits.remotemembrane .
PyPI: https://pypi.python.org/pypi/fourdigits.remotemembrane/