sreenath167 (via Nabble) wrote:
<div class='shrinkable-quote'><br>> Hi developers,
<br>>
<br>> I have created 5 views :
<br>> property__view,customized__view,finance__view,listingactivities__view,
<br>> custom__view and a viewlet manager 'examplemanagement.actions' and one
<br>> viewlet
<br>>
<br>> one of the views registration :
<br>>
<br>> <browser:page
<br>> for="*"
<br>> name="property__view"
<br>> class=".property_view.Property_View"
<br>> template="templates/property_view.pt"
<br>> allowed_interface=".property_view.IProperty_View"
<br>> permission="zope.Public"
<br>> />
<br>>
</div><--snip-->
<div class='shrinkable-quote'><br>>
<br>> i am using code <div tal:replace="structure
<br>> provider:examplemanagement.actions" /> in pt files;which displays the
<br>> all above five views in 5 tabs,
<br>>
<br>> here how can i make the tab 'listingactivities__view' visible to
<br>> Users with Manager role and Owners only (it should not visible to
<br>> users with Member role)
<br>>
<br>> 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>