[Zope-CMF] new member index_html -no edit rights

Kelley, Sean SKelley@ci.santa-rosa.ca.us
Mon, 13 May 2002 14:44:46 -0700


Hi,
Sorry, but I am a fairly novice zope user and do not know python and so do
not really understand from your message how to patch it.  Is this the source
code in the email?  Is so, do I just put it in the folder "CMF/CMFDefault/"
?  Also if its the source do I include the + and - symbols and are the white
spaces important (I thought they were in python)?  Do I need to run anything
in the Zope console to initialize it?
Thanks for your help.
-Sean


> -----Original Message-----
> From: Tres Seaver [mailto:tseaver@zope.com]
> Sent: Monday, May 13, 2002 1:05 PM
> To: Kelley, Sean
> Cc: 'zope-cmf@zope.org'
> Subject: Re: [Zope-CMF] new member index_html -no edit rights
> 
> 
> On Mon, 2002-05-13 at 14:14, Kelley, Sean wrote:
> > Hi
> > I am testing CMF for the first time and am having a problem 
> with creating
> > new users who cannot edit their own index_html.  They can 
> create another
> > index_html after a delete but do not have the EDIT option 
> for the one
> > generated by the join process.  The test user appears to be 
> the owner of it.
> > Any ideas?
> > 
> > Also,
> > I am curious about how to use my windows domain to 
> authenticate via windows
> > groups in CMF (or Zope for that matter).  I looked into 
> some products but
> > cannot seem to figure it out.  Any how-to articles around?  I tried
> > jcNTUserFolder-0.2.2 but all I could list was the users on 
> the machine that
> > Zope was installed on (not the domain users or groups) 
> > 
> > 
> > Sean Kelley
> > Technology Coordinator
> > City of Santa Rosa
> > Phone: (707) 543-3353
> > Pager:  (707) 581-3061
> > 
> > 
> > 
> > _______________________________________________
> > 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
> 
> You've hit a bug which we fixed after the 1.2 release of CMF.  To fix,
> you can either upgrade (to CMF 1.3b1 or the CVS head) or apply the
> following patch::
> 
> --- CMF/CMFDefault/MembershipTool.py	2002/02/25 16:08:03	1.22
> +++ CMF/CMFDefault/MembershipTool.py	2002/04/01 20:21:27	1.23
> @@ -13,9 +13,9 @@
>  
>  """CMFDefault portal_membership tool.
>  
> -$Id: MembershipTool.py,v 1.22 2002/02/25 16:08:03 shane Exp $
> +$Id: MembershipTool.py,v 1.23 2002/04/01 20:21:27 tseaver Exp $
>  """
> -__version__='$Revision: 1.22 $'[11:-2]
> +__version__='$Revision: 1.23 $'[11:-2]
>  
>  
>  from Products.CMFCore.utils import _getAuthenticatedUser,
> _checkPermission
> @@ -188,6 +188,8 @@
>  
>              # Overcome an apparent catalog bug.
>              f.index_html.reindexObject()
> +            wftool = getToolByName( f, 'portal_workflow' )
> +            wftool.notifyCreated( f.index_html )
>              
>  
>      def getHomeFolder(self, id=None, verifyPermission=0):
> 
> 
> Tres.
> -- 
> ===============================================================
> Tres Seaver                                tseaver@zope.com
> Zope Corporation      "Zope Dealers"       http://www.zope.com
>