[Zope-dev] Re: RFC: _verifyObjectPaste cleanup
yuppie
y.2005- at wcm-solutions.de
Sun Dec 4 10:32:07 EST 2005
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.
Fine.
Cheers,
Yuppie
More information about the Zope-Dev
mailing list