[Zope] problem with authorisation using webdav/HTMLDocument

Joe Gaffey Joe.Gaffey@gradient.ie
Fri, 17 Aug 2001 09:59:07 +0100


Thanks for that Dieter.

I realised that there was no mention of __ac_permissions__ in the
HTMLDocument product that I was using which I thought was a bit strange.  So
I looked more carefully at the code/product that I had installed and
realised that it was not from http://www.zope.org/Members/sf/HTMLDocument,
but was rather from http://www.zope.org/Members/unfo/howto_wrapper.  They
seem to be quite different implementations of the same thing.  The reason I
chose the one I did was coz at the time I was VERY new to zope and there was
*NO* installation instructions that I could find for the other.

I would like to advise others that the second one above
(...Members/unfo/....) gave me a lot of trouble with authorisation, whereas
the first one  (...Members/sf/....) seems to work a treat.  However it
claims to be fully Catalog aware, but I had to  add a reindex_object()
method call..... a small price to pay:)

Thanks to all concerned,
Joe.



-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
Dieter Maurer
Sent: Thursday, August 16, 2001 8:04 PM
To: Joe Gaffey
Cc: zope@zope.org
Subject: Re: [Zope] problem with authorisation using webdav/HTMLDocument


Joe Gaffey writes:
 > I am having a weird problem with authorisation using webdav and the
 > HTMLDocument product.
 > ....
 > The problem is that when I then edit this page but enter an invalid
 > username/password on publish ........ it publishes anyway.
Changing content is often protected by a common permission:

	 Change documents, images and files

You can use my DocFinder product to find out how methods are
protected:

  URL:http://www.dieter.handshake.de/pyprojects/zope


Dieter

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )