Thanks for the tip Cornelis. I tried that also with no success, but do you think this trick is the same as taking ownership of the object as well?
I'm not sure. The impossibility to change dtml methods because of proxy roles from Zope version 2.1.x. I remember however that locally adding myself with the role of owner did not help.
-----Original Message----- From: Cornelis J. de Brabander [mailto:brabander@fsw.LeidenUniv.nl] Sent: Monday, January 21, 2002 4:06 AM To: Paul Zwarts; 'Dieter Maurer' Cc: zope@zope.org Subject: RE: [Zope] change proxy role permission
I'm not sure whether it's the same problem, but once in a while I get something similar. What I do is copy the content of the method or document, delete it, create a fresh one, paste the content and set its proxy roles. It sounds ugly, but it works for me.
Cornelis J. de Brabander ========================================== Department of Education, Leiden University P.O.Box 9555, NL-2300 RB Leiden +31 71 527 3422/3401 brabander@fsw.leidenuniv.nl ==========================================
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Paul Zwarts Sent: maandag 21 januari 2002 14:07 To: 'Dieter Maurer' Cc: zope@zope.org Subject: RE: [Zope] change proxy role permission
Dieter,
Thanks for the tip, It still doesn't work yet, so I'll just have to start mucking around much more... As T. Edison always said...
But one thing worth mentioning that it doesn't work either as superuser...
Also, do I need to change the rights of the object itself, or its supercedent folder, or in the Products section of the controlPanel? At this moment I'm just changing any rights that may have something to do with this, but none seem to work..
Thanks, Paz
-----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: Sunday, January 20, 2002 5:29 PM To: Paul Zwarts Cc: zope@zope.org Subject: Re: [Zope] change proxy role permission
Paul Zwarts writes:
I've done quite a bit of searching for this problem I have. I get the following traceback from changing a role of a document to Manager:
Forbidden You are not authorized to change addUser because you do not have proxy roles. I think you must have the roles that the object uses as proxy to change the object in any way -- unless you are the Emergency User.
Dieter
_______________________________________________ Zope maillist - Zope@zope.org 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 )