Hi Dieter!

Dieter Maurer wrote:
yuppie wrote at 2005-12-2 16:50 +0100:
checkPermission now respects proxy roles, so this workaround is no longer needed.

But we should also have some way to check permissions without proxy roles:

   It sometimes is useful for something with a proxy role
   to check whether the user (without a proxy) could
   perform the operation as well.

Thus, if "checkPermission" changed its behaviour, it probably
should get an optional parameter to get the old behaviour back.

Sounds reasonable, but I didn't fix checkPermission and I don't feel responsible for adding a parameter like that. Maybe this is something for the collector...

Otherwise, I am happy with your cleanup.




Zope-Dev maillist  -  Zope-Dev@zope.org
**  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