[Remember Mailing List] Fwd: [Product-Developers] Membrane and the gone getUserAuthProvider
0 views
Skip to first unread message
Maurits van Rees
unread,
Jan 29, 2013, 2:53:12 PM1/29/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to reme...@lists.coactivate.org
Hi,
This is a forward of a message from Luca Fabbri to the
product-developers list.
Does anyone know why the getUserAuthProvider method was removed from the
implementation but is still in the interface? This is the method that
returns the actual content object that is at the heart of a member.
To me it sounds like a mistake in merging or some other oversight that
would best be remedied by restoring that method. It is still on the
1.1.x branch. I am not sure if it needs any changes.
Maurits van Rees
-------- Origineel bericht --------
Onderwerp: [Product-Developers] Membrane and the gone getUserAuthProvider
Datum: Fri, 25 Jan 2013 16:53:30 +0100
Van: Luca Fabbri <luca-Fct...@public.gmane.org>
Aan: Plone Product Developers
<product-developers-G...@public.gmane.org>
Nieuwsgroepen: gmane.comp.web.zope.plone.product-developers
Hi all,
I'm porting a 3rd party remember/membrane Pone 3 product to Plone 4.
The only thing is not going is a call to a getUserAuthProvider of the
membrane_tool. This method has been totally removed starting from 2.0
generation of the product.
However there's not HISTORY line about this and no information about
what to use instead.
Also: documentation on the web (like
http://developer.plone.org/members/membrane.html#getting-plone-member-from-membraneuser-or-owner-record)
is still using it.
I'm trying to not deeply enter in the application logic (for many
reason). What I must use instead?
I have released Products.membrane 2.1.6. Changelog:
- Removed getUserAuthProvider from IMembraneTool interface. Replaced it
with getUserObject which has been the method to call for a few years.
[maurits]
- Add handling of new keyword argument fullname passed by
plone.app.controlpanel.usergroups.UsersOverviewControlPanel for
enumerateUsers(...). This avoids finding all membrane users on any
searchterm in sharing tab or user control panel. [saily]
Should work fine with Plone 3.3 until 4.2. Actually, the tests pass on
latest 4.3 too.