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

  <browser:page
      name="sync"
      for="ploneintranet.userprofile.content.userprofile.IUserProfile"
      class=".userprofile.SyncProperties"
      permission="membrane.ManageUsers"
      layer="ploneintranet.layout.interfaces.INoBarcelonetaLayer"
      />

  <browser:page
      name="sync-user-properties"
      for="ploneintranet.userprofile.content.userprofilecontainer.IUserProfileContainer"
      class=".userprofile.AllUserprofilesPropertySync"
      permission="membrane.ManageUsers"
      layer="ploneintranet.layout.interfaces.INoBarcelonetaLayer"
      />

  <browser:page
      name="sync-users"
      for="ploneintranet.userprofile.content.userprofilecontainer.IUserProfileContainer"
      class=".userprofile.AllUserprofilesSync"
      permission="membrane.ManageUsers"
      layer="ploneintranet.layout.interfaces.INoBarcelonetaLayer"
      />

  <browser:page
      name="sync"
      for="ploneintranet.userprofile.content.workgroup.IWorkGroup"
      class=".workgroup.SyncProperties"
      permission="plonepas.ManageGroups"
      layer="ploneintranet.layout.interfaces.INoBarcelonetaLayer"
      />

  <browser:page
      name="sync-groups"
      for="ploneintranet.userprofile.content.workgroupcontainer.IWorkgroupContainer"
      class=".workgroup.AllWorkGroupsSync"
      permission="plonepas.ManageGroups"
      layer="ploneintranet.layout.interfaces.INoBarcelonetaLayer"
      />

  <browser:page
      name="usersync-status"
      for="plone.app.layout.navigation.interfaces.INavigationRoot"
      class=".status.StatusView"
      permission="ploneintranet.viewsite"
      layer="ploneintranet.layout.interfaces.INoBarcelonetaLayer"
      />

  <browser:page
      name="sync-user-properties-pasldap"
      for="ploneintranet.userprofile.content.userprofilecontainer.IUserProfileContainer"
      class=".ldap.LDAPChangedUsersPropertySync"
      permission="membrane.ManageUsers"
      layer="ploneintranet.userprofile.interfaces.IPloneintranetUserprofileLayer"
      zcml:condition="installed pas.plugins.ldap"
      />

</configure>
