+ +
+

pyams_ldap.zmi package

+
+

Submodules

+
+
+

pyams_ldap.zmi.plugin module

+
+
+class pyams_ldap.zmi.plugin.LDAPCnColumn(context, request, table)
+

Bases: pyams_ldap.zmi.plugin.LDAPColumn

+

CN column

+
+
+attrName = 'cn'
+
+ +
+
+weight = 5
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPColumn(context, request, table)
+

Bases: pyams_skin.table.I18nColumn, z3c.table.column.GetAttrColumn

+

Base LDAP column

+
+
+getValue(obj)
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPMailColumn(context, request, table)
+

Bases: pyams_ldap.zmi.plugin.LDAPColumn

+

Mail column

+
+
+attrName = 'mail'
+
+ +
+
+weight = 20
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPluginAJAXAddForm(context, request)
+

Bases: pyams_form.form.AJAXAddForm, pyams_ldap.zmi.plugin.LDAPPluginAddForm

+

LDAP users folder plug-in add form, AJAX handler

+
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPluginAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_ldap.zmi.plugin.LDAPPluginEditForm

+

LDAP users folder plug-in edit form, AJAX handler

+
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPluginAddForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogAddForm

+

LDAP users folder plug-in add form

+
+
+add(plugin)
+
+ +
+
+ajax_handler = 'add-ldap-folder.json'
+
+ +
+
+create(data)
+
+ +
+
+edit_permission = 'pyams.ManageSecurity'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-sitemap'
+
+ +
+
+legend = 'Add LDAP users folder plug-in'
+
+ +
+
+nextURL()
+
+ +
+
+title = 'System security manager'
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPluginAddMenu(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarMenuItem

+

LDAP users folder add menu

+
+
+label = 'Add LDAP users folder...'
+
+ +
+
+label_css_class = 'fa fa-fw fa-sitemap'
+
+ +
+
+modal_target = True
+
+ +
+
+url = 'add-ldap-folder.html'
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPluginConnectionAddForm(context, request, view=None)
+

Bases: pyams_zmi.form.InnerAdminAddForm

+

LDAP plug-in add form connection

+
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+id = 'ldap_connection_form'
+
+ +
+
+legend = None
+
+ +
+
+tab_label = 'Connection'
+
+ +
+
+weight = 1
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPluginConnectionEditForm(context, request, view=None)
+

Bases: pyams_zmi.form.InnerAdminEditForm

+

LDAP plug-in connection edit form

+
+
+edit_permission = 'pyams.ManageSecurity'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+id = 'ldap_connection_form'
+
+ +
+
+legend = None
+
+ +
+
+tab_label = 'Connection'
+
+ +
+
+weight = 1
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPluginEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

LDAP users folder plug-in edit form

+
+
+ajax_handler = 'properties.json'
+
+ +
+
+edit_permission = 'pyams.ManageSecurity'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-sitemap'
+
+ +
+
+legend = 'Edit LDAP users folder plug-in properties'
+
+ +
+
+title
+
+ +
+
+updateWidgets(prefix=None)
+
+ +
+
+update_content(content, data)
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPluginGroupsAddForm(context, request, view=None)
+

Bases: pyams_zmi.form.InnerAdminAddForm

+

LDAP plug-in add form groups schema

+
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+id = 'ldap_groups_form'
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = None
+
+ +
+
+tab_label = 'Groups schema'
+
+ +
+
+weight = 3
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPluginGroupsEditForm(context, request, view=None)
+

Bases: pyams_zmi.form.InnerAdminEditForm

+

LDAP plug-in groups schema edit form

+
+
+edit_permission = 'pyams.ManageSecurity'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+id = 'ldap_groups_form'
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = None
+
+ +
+
+tab_label = 'Groups schema'
+
+ +
+
+weight = 3
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPluginSearchAddForm(context, request, view=None)
+

Bases: pyams_zmi.form.InnerAdminAddForm

+

LDAP plug-in add form search settings

+
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+id = 'ldap_search_form'
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = None
+
+ +
+
+tab_label = 'Search settings'
+
+ +
+
+weight = 4
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPluginSearchEditForm(context, request, view=None)
+

Bases: pyams_zmi.form.InnerAdminEditForm

+

LDAP plug-in search settings

+
+
+edit_permission = 'pyams.ManageSecurity'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+id = 'ldap_search_form'
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = None
+
+ +
+
+tab_label = 'Search settings'
+
+ +
+
+weight = 4
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPluginSearchResultsView(context, request)
+

Bases: pyams_zmi.view.AdminView, pyams_form.search.SearchResultsView

+

LDAP users folder search results view table

+
+
+cssClasses = {'table': 'table table-bordered table-striped table-hover table-tight datatable'}
+
+ +
+
+data_attributes
+
+ +
+
+id = 'ldap_folder_search_table'
+
+ +
+
+title = 'Search results'
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPluginSearchView(context, request)
+

Bases: pyams_form.search.SearchView

+

LDAP users folder search view

+
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPluginSearchViewHeaderAdapter(context, request, view)
+

Bases: pyams_skin.page.DefaultPageHeaderAdapter

+

LDAP users folder search view header adapter

+
+
+back_target = '#content'
+
+ +
+
+back_url = '#security-manager.html'
+
+ +
+
+icon_class = 'fa fa-fw fa-sitemap'
+
+ +
+
+subtitle
+
+ +
+
+title = 'Security manager'
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPluginUsersAddForm(context, request, view=None)
+

Bases: pyams_zmi.form.InnerAdminAddForm

+

LDAP plug-in add form users schema

+
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+id = 'ldap_users_form'
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = None
+
+ +
+
+tab_label = 'Users schema'
+
+ +
+
+weight = 2
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPluginUsersEditForm(context, request, view=None)
+

Bases: pyams_zmi.form.InnerAdminEditForm

+

LDAP plug-in users schema edit form

+
+
+edit_permission = 'pyams.ManageSecurity'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+id = 'ldap_users_form'
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = None
+
+ +
+
+tab_label = 'Users schema'
+
+ +
+
+weight = 2
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPrincipalAttributesViewlet(context, request, view, manager)
+

Bases: pyams_viewlet.viewlet.Viewlet

+

LDAP principal attributes

+
+
+attributes
+
+ +
+
+br = '<br />'
+
+ +
+ +
+
+class pyams_ldap.zmi.plugin.LDAPPrincipalDisplayForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogDisplayForm

+

LDAP principal display form

+
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_class = 'fa fa-fw fa-sitemap'
+
+ +
+
+legend
+
+ +
+
+title
+
+ +
+ +
+
+

Module contents

+
+
+ + +