[Zope-CMF] Plone & CMFLDAP
David (Hamish) Harvey
david.harvey@bristol.ac.uk
Thu, 20 Jun 2002 09:50:07 +0100
I don't think there's a fundamental reason why users without a member area
shouldn't have access to preferences. The preferences are stored in the
portal_memberdata tool which exists independent of the member area. Of
course, if you don't *want* to allow people to change their preferences
that's a different matter.
Hamish
--On Thursday, June 20, 2002 11:12:44 +0200 Cravoisier Thierry
<thierry.cravoisier@st.com> wrote:
> Hi all,
>
> I found the problem with the "action" tab of the LDAP portal_membership
> tool.
> I had to change the "Preferences" action contition to check that a
> memberfolder exist.
> In the condition area, I wrote:
> python: member and portal.portal_membership.getHomeFolder()
> instead of:
> member
>
> Now it works fine.
> Thierry
>
> thierry.cravoisier@st.com wrote:
>>
>> Hi all,
>>
>> THanks Larry for you input, that's something I forgot to do (roles
>> mapping).
>> But my concern is with when the "Control creation of member areas" in
>> the LDAP Membership tool.
>> For this test site people are just authenticated but DO NOT have any
>> member area, therefore they should not have access there "preferences"
>> or "reconfigure portal" action menu. Am I right ?
>>
>> THanks again
>> Thierry
>>
>> larry_prikockis@natureserve.org wrote:
>> >
>> > ... you need to go to the portal_membership tool and map the
>> > userfolder-supplied (i.e., LDAP) roles to the appropriate CMF roles.
>> >
>> > I've been playing around with this sort of arrangement for a while,
>> > but it's still quirky. I haven't gotten the chance to write up what
>> > I've tried, what's worked, what hasn't etc, but feel free to bounce
>> > stuff off me.
>> >
>> > Of course, my set up has the additional twist that the "LDAP" user
>> > source is really our Windows Active Directory server. Frankly, I'm
>> > pleasantly surprised that it works at all, given Microsoft's tendency
>> > to deviate from so-called standards :-)
>> >
>> > > -----Original Message-----
>> > > From: Cravoisier Thierry [mailto:thierry.cravoisier@st.com]
>> > > Sent: Tuesday, June 18, 2002 11:51 AM
>> > > To: Zope CMF Mailing list
>> > > Subject: [Zope-CMF] Plone & CMFLDAP
>> > >
>> > >
>> > > Hi all,
>> > >
>> > > I try to set up Plone + CMFLDAP and I have some strange behaviour I
>> > > would like to check with you.
>> > >
>> > > Authentication is performed through my company central LDAP: It works
>> > > fine.
>> > > When now I am in a Plone portal (the default one without
>> > > cutomization) but just with CMFLDAP set-up, users get authenticated
>> > > through the LDAP BUT they are not declared as Member or any other
>> > > Zope-CMF role.
>> > >
>> > > DEspite of these settings they have access to the preferences
>> > > menu. When
>> > > trying to change the preferences they get an error: it sounds normal
>> > > since they are not members.
>> > >
>> > > Did I mis-use the module or did I mis some specific settings ?
>> > >
>> > > Regards
>> > > Thierry
>> > >
>> > >
>> > > _______________________________________________
>> > > Zope-CMF maillist - Zope-CMF@zope.org
>> > > http://lists.zope.org/mailman/listinfo/zope-cmf
>> > >
>> > > See http://www.zope.org/Products/PTK/Tracker for bug reports
>> > > and feature requests
>> > >
>> >
>> > _______________________________________________
>> > Zope-CMF maillist - Zope-CMF@zope.org
>> > http://lists.zope.org/mailman/listinfo/zope-cmf
>> >
>> > See http://www.zope.org/Products/PTK/Tracker for bug reports and
>> > feature requests
>>
>> --
>
>>
>> _______________________________________________
>> Zope-CMF maillist - Zope-CMF@zope.org
>> http://lists.zope.org/mailman/listinfo/zope-cmf
>>
>> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
>> requests
>
> --
>
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
> requests
>
--
David Harvey (aka Hamish)
Network Coordinator, FloodRiskNet
Research Assistant, Water and Environmental Management Research Centre
University of Bristol, Lunsford House, Cantock's Close, Bristol BS8 1UP
Tel: +44 (117) 9289768 Fax: +44 (117) 9289770
Email: david.harvey@bristol.ac.uk
PGP Key Fingerprint: 6F15 A1C7 342F 2F87 E2CC 176D 1072 8A5B 20E8 E497
WWW: http://www.cen.bris.ac.uk/civil/pgra/dph/dph.htm