Tres Seaver wrote:
Florent Guillaume wrote:
It might be possible to monkey patch only _checkPermission.func_code,
which seems to work on simple tests, but I've never tried it in real
life:
def f(a):
... print a+1
def g(b):
... print b+2
f(0)
1
f.func_code = g.func_code
Matt Hahnfeld wrote:
I am using Plone 2.1.2, w/ CMF 1.5.5. I'm having trouble using
the overridden _checkPermission function in 1.5.5 to handle proxy roles on
a FSPythonScript. After hacking around, I've determined the best method
to repair this issue is to backport CMF 1.6.0's function and
Florent Guillaume wrote:
Tres Seaver wrote:
Matt Hahnfeld wrote:
I am using Plone 2.1.2, w/ CMF 1.5.5. I'm having trouble using
the overridden _checkPermission function in 1.5.5 to handle proxy
roles on
a FSPythonScript. After hacking around, I've determined the best method
to repair