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