Andy McKay wrote:
Yeah, wrong but toothless. Feel free to fix on appropriate branches I
guess :-)
Well yeah but Im betting its there for a reason, I just dont know what
it is yet. Changing that is sure to break something...
Well, do it and I'm sur we'll soon find out :-)
Chris
Where is the initial code for setting permissions in the ZODB? It looks
like the Copy or Move permission is give to Anonymous by default at
ZODB creation in Zope, which is ahem wrong.
Cant find the code that sets that up though, can anyone throw me a clue
stick that grep can't?
Thanks.
--
Sure enough as soon as I email the list I remembered permissions can be
declared anywhere, one grep more and there it is in CopySupport.py, 385:
class CopySource(ExtensionClass.Base):
Interface for objects which allow themselves to be copied.
# declare a dummy permission for Copy or Move
Andy McKay wrote:
Of course you need to be able to paste... so may not be a huge problem,
just looks wrong :)
Yeah, wrong but toothless. Feel free to fix on appropriate branches I guess :-)
Chris
___
Zope-Dev maillist - [EMAIL PROTECTED]
Yeah, wrong but toothless. Feel free to fix on appropriate branches I
guess :-)
Well yeah but Im betting its there for a reason, I just dont know what
it is yet. Changing that is sure to break something...
--
Andy McKay
ClearWind Consulting
http://www.clearwind.ca