4 Dec
2005
4 Dec
'05
3:32 p.m.
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