List Info

Thread: Re: PAS documentation




Re: PAS documentation
country flaguser name
New Zealand
2007-03-21 14:06:06
> Please keep the discussion on the list, thank you.
Sorry - reply to all...

>Barry Page wrote:
>;> No, that doesn't work. I get the folllowing error when trying to
>>; register a new user:
>>
>>    ;           ;  Error Type
>>       ;          NotImplementedError
>>          ;       Error Value
>>     ;           ; There is no plugin that can delete users.

>So you try to *add* a user and Zope/Plone complains that it cannot
*delete* a user? ; Weird.

>>; I copied the missing plugins from the Plone instance acl_users folder
>;> to the rool acl_users, then removed the Plone acl_users. No luck.

>;Why do you actually want to use the root acl_users instead of the
>Plone one?  That was not clear to me from your first mail?
I am building several local community Plone sites, and I'd like a registered user to be able to cross-post outside of their 'home' site, eg for classified ads, news or events.

>> I have to say, the whole PAS thing seems a bit hard, compared to most
>> other Plone customisations. Perhaps it's the depth of collective
>> experience and documentation that is lacking?
>>
>> I have in the meantime set up LDAP on the server and spent a few hours
>> hacking around with the LDAP plugins but no luck on that front either.

>This may help with ldap:

>http://plone.org/documentation/how-to/plone-2-5-and-openldap-integration-for-users-and-groups

Didn't work as advertised. LDAP modules didn't compile properly. Still some .py modules in the source folder without .pyc after restarting. It would be nice if it were packaged up for Plone 2.5.x without having to find things from all over the place. I don't have the skills to do that myself, otherwise I would.

>http://plone.org/products/ldapconfig
I'll take a look at this. thanks.


--
>Maurits van Rees | http://maurits.vanrees.org/ [NL]
>    ;        Work | http://zestsoftware.nl/
>"Do not worry about your difficulties in computers,
>I can assure you mine are still greater."

Original Message
I would like to have users of all my sites authenticating against the root acl_users, like it does for the default Administrator. I don't particularly want to use LDAP as it is just another learning curve I don't relish going through. Any ideas from someone who has done it with 2.5/3.0a or some documentation that might help.


Send instant messages to your online friends http://au.messenger.yahoo.com
Re: PAS documentation
country flaguser name
Netherlands
2007-03-21 16:31:55
Barry Page, on 2007-03-21:
>>Why do you actually want to use the root acl_users
instead of the
>>Plone one?  That was not clear to me from your first
mail?
> 
> I am building several local community Plone sites, and
I'd like a
> registered user to be able to cross-post outside of
their 'home'
> site, eg for classified ads, news or events.

Indeed any user that you add to that top acl_users folder
should have
access to all sites below it.  You probably need to add that
user
manually though in the ZMI.

I *think* the idea is that if you add a new user in Plone
then Plone
really wants to add that user in its own acl_users folder
and will
refuse to add anyone to the top Zope acl_users folder.

Okay, wait, I tried that.  I removed the entire acl_users
folder in
Plone.  Then I added a user through prefs_users_overview in
the Plone
control panel.  That user then ends up in top top acl_users
folder of
Zope.  So that part works.

But that throws an error when searching for users in Plone. 
So that
does not seem very workable.

Second try: in Plone's acl_users, in Plugins go to the User
Adder
plugin and remove source_users from the Active Plugins.  Or
in
acl_users self remove source_users.  Then add a user in
Plone.  Ah,
that return an exception: NotImplementedError.  So that is
not working
either.

I tried some other things, but when searching for users in
Plone I
kept getting this KeyError:

 <InterfaceClass
Products.PlonePAS.interfaces.plugins.IUserIntrospection>

So I am inclined to say: forget it. :-/

-- 
Maurits van Rees | http://maurits.vanrees.or
g/ [NL]
            Work | http://zestsoftware.nl/
"Do not worry about your difficulties in computers,
 I can assure you mine are still greater."


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plone-Users mailing list
Plone-Userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )