--- a/src/pyams_ldap/zmi/plugin.py Mon Mar 02 09:51:55 2015 +0100
+++ b/src/pyams_ldap/zmi/plugin.py Tue Mar 03 16:54:31 2015 +0100
@@ -21,8 +21,8 @@
from pyams_form.interfaces.form import IInnerTabForm, IWidgetsSuffixViewletsManager
from pyams_ldap.interfaces import ILDAPPlugin
from pyams_security.interfaces import ISecurityManager, IPlugin
-from pyams_security.zmi.interfaces import ISecurityManagerToolbarAddingMenu
from pyams_skin.interfaces import IPageHeader
+from pyams_skin.interfaces.viewlet import IToolbarAddingMenu
from pyams_skin.layer import IPyAMSLayer
from pyams_zmi.interfaces import IAdminView
from pyams_zmi.layer import IAdminLayer
@@ -60,7 +60,7 @@
#
@viewlet_config(name='add-ldap-folder.menu', context=ISite, layer=IAdminLayer,
- view=SecurityManagerPluginsTable, manager=ISecurityManagerToolbarAddingMenu,
+ view=SecurityManagerPluginsTable, manager=IToolbarAddingMenu,
permission='system.manage', weight=60)
class LDAPPluginAddMenu(ToolbarMenuItem):
"""LDAP users folder add menu"""