Hi,

in an pt I have:

<metal:block fill-slot="main"
               tal:define="folder here/getContent;
               items here/contentValues;
               ">
<span tal:repeat="item items">
<a href="xxx"  tal:attributes="href item/absolute_url"
               tal:content="item/title_or_id"></a>
</span>

</metal:block>

this displays the url for all items, even those which are not accessible
by the user. If he clicks on the url, he is asked for login. How can I
test in the pt, if that item is accessible by the user, so that the link
is not displayed at all.



-- 
Mit freundlichen Grüßen                                Joachim Schmitz
......................................................................
AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to