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 here that we check
    # in cb_isCopyable.
    __ac_permissions__=(
        ('Copy or Move', (), ('Anonymous', 'Manager',)),
        )

Of course you need to be able to paste... so may not be a huge problem, just looks wrong :)
--
Andy McKay
http://www.agmweb.ca



_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to