<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:browser="http://namespaces.zope.org/browser"
    >

  <include
      package="ploneintranet.layout"
      file="permissions.zcml"
      />

  <browser:page
      name="async-status"
      for="plone.app.layout.navigation.interfaces.INavigationRoot"
      class=".status.StatusView"
      permission="cmf.ManagePortal"
      layer="..interfaces.IPloneintranetAsyncLayer"
      />

  <browser:page
      name="async-checktask"
      for="plone.app.layout.navigation.interfaces.INavigationRoot"
      class=".status.CheckTaskView"
      permission="cmf.ManagePortal"
      layer="..interfaces.IPloneintranetAsyncLayer"
      />

  <browser:page
      name="reindex_object"
      for="*"
      class=".views.ReindexObjectView"
      permission="zope2.View"
      layer="..interfaces.IPloneintranetAsyncLayer"
      />

  <browser:page
      name="reindex_object_solr"
      for="*"
      class=".views.ReindexObjectSolrView"
      permission="zope2.View"
      layer="..interfaces.IPloneintranetAsyncLayer"
      />

  <browser:page
      name="generate-pdf"
      for="*"
      class=".views.GeneratePDFView"
      permission="zope2.View"
      layer="..interfaces.IPloneintranetAsyncLayer"
      />

  <browser:page
      name="generate-pdf-from-html"
      for="*"
      class=".views.GeneratePDFView"
      permission="zope2.View"
      layer="..interfaces.IPloneintranetAsyncLayer"
      />

</configure>
