Hi again!<br>I search for the user who is launching the execution of my code and I have a question:<br><br>I&#39;m using prototype to launch some actions via AJAX <br><br>Could be this the problem?<br><br>How can I conservate the user who launch the actions between AJAX calls?
<br><br>Thanks!<br><br><div><span class="gmail_quote">2007/3/8, Garito &lt;<a href="mailto:garito@gmail.com">garito@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
As Josef tell me I try verbose security and this is the traceback:<br><pre><span class="q">Traceback (innermost last):<br>  Module ZPublisher.Publish, line 106, in publish<br>  Module ZPublisher.BaseRequest, line 323, in traverse
<br>  Module <br>Products.Yanged.Yanged, line 61, in __bobo_traverse__<br>  Module Products.Yanged.Yanged, line 134, in __call__<br></span>  Module Products.Yanged.Yanged, line 165, in Ejecutar<span class="q"><br>  Module 
Products.Yanged.Yanged, line 118, in __call__<br><br></span>  Module Products.Yanged.Yanged, line 165, in Ejecutar<span class="q"><br>  Module Shared.DC.Scripts.Bindings, line 311, in __call__<br>  Module Shared.DC.Scripts.Bindings
, line 348, in _bindAndExec<br>  Module Products.PythonScripts.PythonScript<br>, line 325, in _exec<br>  Module None, line 2, in Borrar<br>   - &lt;PythonScript at /sistes.net/clientes/escobarsl.com/Comandos/BorrarFuncionalidad used for /sistes.net/clientes/escobarsl.com/Pagina/Borrar/BorrarCaso&gt;
<br><br>   - Line 2<br></span>  Module AccessControl.ImplPython, line 729, in guarded_getattr<br>  Module AccessControl.ImplPython, line 671, in aq_validate<br>  Module AccessControl.ImplPython, line 565, in validate<br>  Module 
AccessControl.ImplPython<br>, line 463, in validate<br>  Module AccessControl.ImplPython, line 810, in raiseVerbose<br>Unauthorized: Your user account does not have the required permission.  Access to &#39;manage_delObjects&#39; of (Yanged at /sistes.net/clientes/escobarsl.com/Pagina/Funcionalidades) denied. Your user account, Anonymous User, exists at (unknown). Access requires one of the following roles: [&#39;Manager&#39;]. Your roles in this context are [&#39;Anonymous&#39;].
<br><br></pre>I can&#39;t understand why when zope prompts me for a login and password and I put my user (with manager and owner roles) still fail. This is what seems weird for me<br><br>Isn&#39;t it?<br><br>Thanks!<br><br>
<div><span class="q">
<span class="gmail_quote">2007/3/8, Josef Meile &lt;<a href="mailto:jmeile@hotmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jmeile@hotmail.com</a>&gt;:</span></span><div><span class="e" id="q_1113296ad98ce5be_8">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; Have a look at the full traceback in the error_log (ZMI root folder -<br>&gt; you may have to remove the &#39;Unauthorized&#39; entry from the &#39;Ignored<br>&gt; exception types&#39; field), it may provide some more information.
<br>Another thing you can do is to activate the &quot;verbose-security&quot; directive<br>in your zope.conf file. Don&#39;t forget, to set the<br>&quot;security-policy-implementation&quot; to &quot;python&quot; and restart zope. You may
<br>get more verbose output when getting an Unauthorized exception.<br><br>Regards<br>Josef<br>_______________________________________________<br>Zope maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a href="mailto:Zope@zope.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Zope@zope.org</a><br><a href="http://mail.zope.org/mailman/listinfo/zope" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://mail.zope.org/mailman/listinfo/zope</a><br>**&nbsp;&nbsp; No cross posts or HTML encoding!&nbsp;&nbsp;**<br>(Related lists -<br> <a href="http://mail.zope.org/mailman/listinfo/zope-announce" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://mail.zope.org/mailman/listinfo/zope-announce
</a><br> <a href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mail.zope.org/mailman/listinfo/zope-dev</a> )<br></blockquote></span></div></div>
<br><br clear="all"><div><span class="e" id="q_1113296ad98ce5be_10"><br>-- <br>Mis Cosas: <a href="http://blogs.sistes.net/Garito" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://blogs.sistes.net/Garito</a>
</span></div></blockquote></div><br><br clear="all"><br>-- <br>Mis Cosas: <a href="http://blogs.sistes.net/Garito">http://blogs.sistes.net/Garito</a>