sreenath167 (via Nabble) wrote:
<div class='shrinkable-quote'><br>&gt; Hi developers,
<br>&gt;
<br>&gt; I have created 5 views : 
<br>&gt; property__view,customized__view,finance__view,listingactivities__view,
<br>&gt; custom__view and a viewlet manager 'examplemanagement.actions' and one 
<br>&gt; viewlet
<br>&gt;
<br>&gt; one of the views registration :
<br>&gt;
<br>&gt; &nbsp; &lt;browser:page
<br>&gt; &nbsp; &nbsp; &nbsp; for=&quot;*&quot;
<br>&gt; &nbsp; &nbsp; &nbsp; name=&quot;property__view&quot;
<br>&gt; &nbsp; &nbsp; &nbsp; class=&quot;.property_view.Property_View&quot;
<br>&gt; &nbsp; &nbsp; &nbsp; template=&quot;templates/property_view.pt&quot;
<br>&gt; &nbsp; &nbsp; &nbsp; allowed_interface=&quot;.property_view.IProperty_View&quot;
<br>&gt; &nbsp; &nbsp; &nbsp; permission=&quot;zope.Public&quot;
<br>&gt; &nbsp; &nbsp; &nbsp; /&gt;
<br>&gt;
</div>&lt;--snip--&gt;
<div class='shrinkable-quote'><br>&gt;
<br>&gt; i am using code &lt;div tal:replace=&quot;structure 
<br>&gt; provider:examplemanagement.actions&quot; /&gt; in pt files;which displays the 
<br>&gt; all above five views in 5 tabs,
<br>&gt;
<br>&gt; here how can i make the tab &nbsp;'listingactivities__view' &nbsp; visible to 
<br>&gt; Users with Manager role and Owners only &nbsp;(it should not visible to 
<br>&gt; users with Member role)
<br>&gt;
<br>&gt; Please help me out
</div><br>I think you can just change the permission in the ZCML registration from 
<br>zope.Public to zope.ManageContent
<br><br><br>JC
<br>
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/visibility-of-viewlets-tp2879578p2879640.html">Re: [Product-Developers] visibility of viewlets</a><br>
Sent from the <a href="http://n2.nabble.com/Product-Developers-f293354.html">Product Developers mailing list archive</a> at Nabble.com.<br>