Re: [Zope] How to set proxy roles in dtml method?
9 Jan
2001
9 Jan
'01
8:17 p.m.
Dirksen writes:
<dtml-call "myMethod.manage_proxy('Manager')"> only ends in this error:
You are not authorized to change myMethod because you do not have proxy roles.
even though I'm calling the above statement in Manager role. Is it possible to do that? It is a bit strange, but as a security feature, you can change an object with a proxy role only, if you have *THAT PRECISE* role. Give your Manager user this role and it should work.
In Zope 2.1.6 (which we use still in a production site), this did apparently (I did not dig in and may have been simply confused) not work. However, as Superuser, I could change the object. Dieter
9218
Age (days ago)
9218
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer