Re: [Zope-CMF] RFC: PAS and the (non?) future of members

2006-02-02 Thread J Cameron Cooper

Rob Miller wrote:


i'm wondering if it's not time to rethink the entire idea of members as
they currently exist in CMF.  members were originally a necessary evil,
because the user folder implementation of users didn't allow for enough
flexibility to support CMF's needs.  now, however, PAS makes it possible
to encapsulate all of the necessary behaviour in the user objects
themselves, and it should be possible to eliminate the complexity of
wrapping the user object altogether.

over the last few days at the snow sprint here in austria i've been
working on a Plone-based product called Membrane.  Membrane implements PAS
plugins which allow portal content to be used as the authentication,
property, group, role, etc. providers for users.  it's quite nice, i
think, very flexible and powerful, and i think it contains ideas that
might do well in CMF itself.

even if the content-based plug-ins are not desireable, i think it's still
worth investigating the use of PAS and the idea of deprecating the
member/user duality altogether.  anyone else interested in this approach?


The whole wrapped-Member thing is indeed quite nasty, and PAS should let 
us bypass it quite easily. I suspect a 1:1 replacement of members with 
users from a special PAS UserFactory plugin would be quite easy. And, 
like members, it would be specific to CMF. Hooray for plugins.


PlonePAS doesn't do this (yet) since it aims to be minimally invasive.

But I think Membrane would be even better, provided it works out well 
and doesn't turn out to be quite so strangely behaved as CMFMember; 
members-as-content seems a quite natural thing to do.


--jcc
--
Building Websites with Plone
http://plonebook.packtpub.com/

Enfold Systems, LLC
http://www.enfoldsystems.com
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


Re: [Zope-CMF] Re: Plone add item restriction based on context/group/role?

2006-01-05 Thread J Cameron Cooper

Ignacio Valdes wrote:

Ah-hah! I was wondering if such lists existed:

http://plone.org/contact/index_html/?searchterm=plone-users%20list

Wish there was a tab for this on plone.org


Your wish is granted. It's the contact tab, though that doesn't seem 
like the best name.


--jcc
--
Building Websites with Plone
http://plonebook.packtpub.com/

Enfold Systems, LLC
http://www.enfoldsystems.com
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


Re: [Zope-CMF] Re: Debugging in Houston?

2005-12-29 Thread J Cameron Cooper

Ignacio Valdes wrote:
Thanks, I have it working now, it was an indentation problem but now I 
have to delve into the mysteries of fixing broken objects. The zopelabs 
recipe for doing this seems to be broken at:



obj=root.unrestrictedTraverse('/linuxmednews')


Traceback (most recent call last):
  File stdin, line 1, in ?
NameError: name 'root' is not defined


It would be nice to provide the URL. I will assume you're talking about 
http://zopelabs.com/cookbook/1095965033


Probably it means 'app' intstead, which you should be told about when 
entering the debug console. I think WinShell binds a different name, though.


--jcc
--
Building Websites with Plone
http://plonebook.packtpub.com/

Enfold Systems, LLC
http://www.enfoldsystems.com
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests