Skip to content

Instantly share code, notes, and snippets.

@cluther
Created September 22, 2011 19:02
Show Gist options
  • Save cluther/1235685 to your computer and use it in GitHub Desktop.
Save cluther/1235685 to your computer and use it in GitHub Desktop.
Override Default Zenoss Permissions
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser">
<include package="Products.Five" file="meta.zcml"/>
<include package="zope.viewlet" file="meta.zcml"/>
<include package="Products.ZenModel" file="permissions.zcml"/>
<browser:viewlet
name="Reports"
url="/zport/dmd/reports"
subviews="/zport/dmd/Reports"
weight="4"
manager="Products.ZenUI3.navigation.interfaces.IPrimaryNavigationMenu"
class="Products.ZenUI3.navigation.menuitem.PrimaryNavigationMenuItem"
permission="zenoss.ManageDMD"
layer="Products.ZenUI3.navigation.interfaces.IZenossNav"
/>
</configure>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment