Hi, Martijn!<br>I think I understand what you say but I have a problem:<br><br>I don&#39;t use any view or object to the render time. Is a method (__call__). Then I can&#39;t return the view object at traversal time. How can I then avoid this problem?
<br><br>And If this is correct, why don&#39;t work the same with the creation method?<br><br>If you read the link I put, you could read I can create (with CrearFuncionalidad) but not delete it (with BorrarFuncionalidad) that seems to have the same security necessities
<br><br>Weired think, isn&#39;t it?<br><br>Thank you so much for your help!<br><br><div><span class="gmail_quote">2007/3/23, Martijn Pieters &lt;<a href="mailto:mj@zopatista.com">mj@zopatista.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;">
On 3/22/07, Garito &lt;<a href="mailto:garito@sistes.net">garito@sistes.net</a>&gt; wrote:<br>&gt; I debug ImplPython.py to try to understand why my code don&#39;t work ok<br>&gt;<br>&gt; If you remember my last threat I wonder why some actions marked as Manager
<br>&gt; execute ok but other not<br>&gt; You could refresh your mind about it at:<br>&gt; <a href="http://archives.free.net.ph/message/20070312.184003.211597ad.en.html">http://archives.free.net.ph/message/20070312.184003.211597ad.en.html
</a><br>&gt;<br>&gt; When validate (line 237) try to evaluate if the user is autenthicated and<br>&gt; has right roles (line 436) the self._authenticated is set to TRUE but<br>&gt; context.user is Anonymous User even when I&#39;m authenticated to Garito
<br>&gt;<br>&gt; Is this normal? (this is what causes the error for me)<br><br>I&#39;ve seen this happen when creating views in combination with<br>PlonePAS. The issue is that the user authentication hasn&#39;t taken place
<br>yet at traversal time (when the view is instanciated). Moving the<br>user-dependant code to render time (view.__call__ and methods used in<br>the view template or somesuch) the problem is circumvented.<br><br>--<br>Martijn Pieters
<br></blockquote></div><br><br clear="all"><br>-- <br>Mis Cosas<br><a href="http://blogs.sistes.net/Garito">http://blogs.sistes.net/Garito</a>