Re: [Zope3-dev] A Call for Slaves

2005-09-28 Thread Chris Withers

Tim Peters wrote:
Sorry, I don't have spare time to search for you.  


But you provided exactly what I needed ;-)

thanks Tim!

cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] collector issue 438: canWrite throwing forbidden attribute

2005-09-28 Thread Florian Lindner
Am Dienstag, 27. September 2005 16:29 schrieb Fred Drake:
 On 9/27/05, Gary Poster [EMAIL PROTECTED] wrote:
  Hi.  Kevin (cc'd, along with the person whom I believe filed the
  original bug) asked me to look at collector issue 438.  Here are a
  few thoughts and observations.

 Ok, this made me look at the collector issue again, since
 partialAnnotatableAdapterFactory is my fault.

  My first guess, then, is that the factory generated by
  annotatableadapter.partialAnnotatableAdapterFactory is not the class
  that is instantiated.  I don't know that code: maybe I'm wrong.  But,
  generally, the missing link that needs to be filled is getting the
  security settings on the object generated by the
  partialAnnotatbleAdapterFactory.  The zcml is trying to do that, I
  see, but it's not working.

 I've followed up in the collector; I think we're missing information
 about the content object itself, and I've attempted to clarify there
 what appears to be happening.  Your diagnosis remains a possibility,
 though I'm hoping it's unlikely.

I've created and uploaded a example which demonstrates the error: 
http://xgm.de/partial.tar.gz

Florian
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] RE: [Zope3-Users] Users and the Ownership of Objects

2005-09-28 Thread Roger Ineichen
HiJim,

 Note that in the Sharing policy that we'll be releasing (soon, I
 hope), the sharing privilege is pretty darn close to ownership,
 as we've discussed.

1+

Do you have a release date for this?

Regards
Roger Ineichen

___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] gadfly adapter configuration

2005-09-28 Thread Velko Ivanov

Hello,

 I tested gadly adapter then I got ForbiddenAttribute error.

 I think it may needs additional configuration to gadflyda.zcml.

If you are using the UI grant tool to specify permissions for your 
principal, the problem is that ZopeConnection and ZopeCursor are not 
locatable objects and access is uncoditionally denied.

There was a thread on that recently, plus a submission to the bug collector.

One possible workaround is to set ZopeConnection and ZopeCursor to the 
zope.Public permission in zope/app/rdb/configure.zcml, which is a 
potential security risk (not a big one - if you are carefull with the 
objects, which create and use connections and cursors, there is no 
danger), also you will need to change the gadfly configuration to 
require something different than 'like ZopeConnection' (the database 
adapter is locatable).
The other way around is to patch zope.app.rdb code, make IZopeConnection 
and IZopeCursor interfaces inherit ILocation, then provide proper 
__name__ and __parent__ attributes to ZopeConnection and ZopeCursor 
objects at creation time - this is enough to make them locatable.


The same may apply to Row and ResultSet helper classes too.

Regards,
Velko Ivanov
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: [Zope3-Users] Users and the Ownership of Objects

2005-09-28 Thread Jim Fulton

Roger Ineichen wrote:

HiJim,



Note that in the Sharing policy that we'll be releasing (soon, I
hope), the sharing privilege is pretty darn close to ownership,
as we've discussed.



1+

Do you have a release date for this?


Not really. There are some dependencies we have to release
first.  I've been out of the office for a couple of weeks.
Maybe I can get this out next week.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] Creating ZPT package

2005-09-28 Thread Fred Drake
On 9/28/05, Ian Bicking [EMAIL PROTECTED] wrote:
 I'd like to create a package of just ZPT.  I found these instructions
 (from: http://archives.free.net.ph/message/20050421.065130.bce4f2a1.en.html)

Ok, here's how to build a ZPT distribution from the Zope 3 trunk:

1. Check out Zope 3.
2. cd to the top-level directory of the checkout.
3. Run zpkg -C releases/ZPT.cfg -vSOMEVERSION.

This will create ZPT-SOMEVERSION.tgz in the current directory.

I'm planning to make a ZPT release based on the Zope 3.1.0 sources
when the final release is done.


  -Fred

--
Fred L. Drake, Jr.fdrake at gmail.com
Zope Corporation
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com