Re: [Zope] How to set proxy roles in dtml method?

2001-01-09 Thread Dieter Maurer

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

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] How to set proxy roles in dtml method?

2001-01-08 Thread Dirksen

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?

Dirksen

__
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] How to set Proxy-Roles

2000-07-10 Thread Robert Wohlfahrt

Hi,

i have a DTML-Method that adds a subfolder to a folder. I want to give
anonymous users the permission, to add a Folder by using this
DTML-Method. I added the Proxy-Role "Manager" to this DTML-Method, but
anonymous users still can't use it - everytime they get a 
"You are not authorized to access manage_addFolder".
Where is my mistake?

Thanks
Robert


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )