+ +
+

pyams_security.zmi.plugin package

+
+

Submodules

+
+
+

pyams_security.zmi.plugin.admin module

+
+
+class pyams_security.zmi.plugin.admin.AdminAuthenticationAJAXAddForm(context, request)
+

Bases: pyams_form.form.AJAXAddForm, pyams_security.zmi.plugin.admin.AdminAuthenticationAddForm

+

Admin authentication plug-in add form, AJAX handler

+
+ +
+
+class pyams_security.zmi.plugin.admin.AdminAuthenticationAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_security.zmi.plugin.admin.AdminAuthenticationEditForm

+

Admin authentication plug-in edit form, AJAX handler

+
+ +
+
+class pyams_security.zmi.plugin.admin.AdminAuthenticationAddForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogAddForm

+

Admin authentication plug-in add form

+
+
+add(plugin)
+
+ +
+
+ajax_handler = 'add-admin-authentication.json'
+
+ +
+
+autocomplete = 'off'
+
+ +
+
+create(data)
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-support'
+
+ +
+
+legend = 'Add administration authentication plug-in'
+
+ +
+
+nextURL()
+
+ +
+
+title = 'System security manager'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.admin.AdminAuthenticationAddMenu(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarMenuItem

+

Admin authentication add menu

+
+
+label = 'Add admin authentication...'
+
+ +
+
+label_css_class = 'fa fa-fw fa-support'
+
+ +
+
+modal_target = True
+
+ +
+
+url = 'add-admin-authentication.html'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.admin.AdminAuthenticationEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

Admin authentication plug-in edit form

+
+
+ajax_handler = 'properties.json'
+
+ +
+
+autocomplete = 'off'
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-support'
+
+ +
+
+legend = 'Edit administration authentication plug-in'
+
+ +
+
+title
+
+ +
+
+updateWidgets(prefix=None)
+
+ +
+ +
+
+class pyams_security.zmi.plugin.admin.AdminAuthenticationHelpAdapter(context, request, view)
+

Bases: pyams_form.help.FormHelp

+

Admin authentication edit form help adapter

+
+
+header = 'WARNING'
+
+ +
+
+message = 'Before disabling plug-in, please verify that you have other administration access!'
+
+ +
+
+message_format = 'rest'
+
+ +
+
+status = 'danger'
+
+ +
+ +
+
+pyams_security.zmi.plugin.admin.handle_new_admin_folder_data_extraction(event)
+

Handle new admin authentication plug-in form data extraction

+
+ +
+
+

pyams_security.zmi.plugin.group module

+
+
+class pyams_security.zmi.plugin.group.DescriptionColumn(context, request, table)
+

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

+

Users registration date column

+
+
+attrName = 'description'
+
+ +
+
+getValue(obj)
+
+ +
+
+weight = 20
+
+ +
+ +
+
+class pyams_security.zmi.plugin.group.GroupsFolderAJAXAddForm(context, request)
+

Bases: pyams_form.form.AJAXAddForm, pyams_security.zmi.plugin.group.GroupsFolderAddForm

+

Groups folder plug-in add form, AJAX handler

+
+ +
+
+class pyams_security.zmi.plugin.group.GroupsFolderAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_security.zmi.plugin.group.GroupsFolderEditForm

+

Groups folder plug-in edit form, AJAX handler

+
+ +
+
+class pyams_security.zmi.plugin.group.GroupsFolderAddForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogAddForm

+

Groups folder plug-in add form

+
+
+add(plugin)
+
+ +
+
+ajax_handler = 'add-groups-folder.json'
+
+ +
+
+create(data)
+
+ +
+
+edit_permission = None
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-users'
+
+ +
+
+legend = 'Add local groups folder plug-in'
+
+ +
+
+nextURL()
+
+ +
+
+title = 'System security manager'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.group.GroupsFolderAddMenu(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarMenuItem

+

Local groups folder add menu

+
+
+label = 'Add local groups folder...'
+
+ +
+
+label_css_class = 'fa fa-fw fa-users'
+
+ +
+
+modal_target = True
+
+ +
+
+url = 'add-groups-folder.html'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.group.GroupsFolderContentsTable(context, request)
+

Bases: pyams_skin.table.BaseTable

+

Groups folder contents table

+
+
+cssClasses = {'table': 'table table-bordered table-striped table-hover table-tight datatable'}
+
+ +
+
+id = 'groups_folder_table'
+
+ +
+
+title = 'Local groups list'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.group.GroupsFolderContentsValuesAdapter(context, request, view)
+

Bases: pyams_utils.adapter.ContextRequestViewAdapter

+

Groups folder table values adapter

+
+
+values
+
+ +
+ +
+
+class pyams_security.zmi.plugin.group.GroupsFolderEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

Groups folder plug-in edit form

+
+
+ajax_handler = 'properties.json'
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-users'
+
+ +
+
+legend = 'Edit local groups folder plug-in properties'
+
+ +
+
+title
+
+ +
+
+updateWidgets(prefix=None)
+
+ +
+ +
+
+class pyams_security.zmi.plugin.group.GroupsFolderSearchView(context, request)
+

Bases: pyams_zmi.view.AdminView, pyams_skin.container.ContainerView

+

Groups folder search view

+
+
+table_class
+

alias of GroupsFolderContentsTable

+
+ +
+ +
+
+class pyams_security.zmi.plugin.group.GroupsFolderSearchViewHeaderAdapter(context, request, view)
+

Bases: pyams_skin.page.DefaultPageHeaderAdapter

+

Groups folder search view header adapter

+
+
+back_target = '#content'
+
+ +
+
+back_url = '#security-manager.html'
+
+ +
+
+icon_class = 'fa fa-fw fa-users'
+
+ +
+
+subtitle
+
+ +
+
+title = 'Security manager'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.group.LocalGroupAJAXAddForm(context, request)
+

Bases: pyams_form.form.AJAXAddForm, pyams_security.zmi.plugin.group.LocalGroupAddForm

+

Local group add form, AJAX view

+
+
+get_ajax_output(changes)
+
+ +
+ +
+
+class pyams_security.zmi.plugin.group.LocalGroupAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_security.zmi.plugin.group.LocalGroupEditForm

+

Local group edit form, AJAX view

+
+
+get_ajax_output(changes)
+
+ +
+ +
+
+class pyams_security.zmi.plugin.group.LocalGroupAddAction(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarAction

+

Groups folder adding action

+
+
+label = 'Add group'
+
+ +
+
+modal_target = True
+
+ +
+
+url = 'add-group.html'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.group.LocalGroupAddForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogAddForm

+

Local group add form

+
+
+add(group)
+
+ +
+
+ajax_handler = 'add-group.json'
+
+ +
+
+create(data)
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-users'
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = 'Add new local group'
+
+ +
+
+title
+
+ +
+
+updateWidgets(prefix=None)
+
+ +
+
+update_content(group, data)
+
+ +
+ +
+
+class pyams_security.zmi.plugin.group.LocalGroupEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

Local group edit form

+
+
+ajax_handler = 'properties.json'
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-users'
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = 'Edit group properties'
+
+ +
+
+title
+
+ +
+
+updateWidgets(prefix=None)
+
+ +
+ +
+
+class pyams_security.zmi.plugin.group.NameColumn(context, request, table)
+

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

+

Group name column

+
+
+attrName = 'title'
+
+ +
+
+weight = 10
+
+ +
+ +
+
+pyams_security.zmi.plugin.group.handle_new_user_data_extraction(event)
+

Handle new group form data extraction

+
+ +
+
+pyams_security.zmi.plugin.group.handle_new_user_folder_data_extraction(event)
+

Handle new groups folder plug-in form data extraction

+
+ +
+
+

pyams_security.zmi.plugin.social module

+
+
+class pyams_security.zmi.plugin.social.EmailColumn(context, request, table)
+

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

+

Users email column

+
+
+attrName = 'email'
+
+ +
+
+weight = 20
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.IDColumn(context, request, table)
+

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

+

Users ID column

+
+
+attrName = 'user_id'
+
+ +
+
+weight = 5
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.NameColumn(context, request, table)
+

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

+

Users name column

+
+
+attrName = 'title'
+
+ +
+
+weight = 10
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.ProviderNameColumn(context, request, table)
+

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

+

Users provider name column

+
+
+attrName = 'provider_name'
+
+ +
+
+weight = 30
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.RegistrationDateColumn(context, request, table)
+

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

+

Users registration date column

+
+
+getValue(obj)
+
+ +
+
+weight = 40
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SecurityManagerSocialMenuItem(context, request, view, manager=None)
+

Bases: pyams_skin.viewlet.menu.MenuItem

+

Security manager social menu

+
+
+label = 'Social networks login'
+
+ +
+
+url = '#social-providers.html'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SecurityManagerSocialProvidersHeaderAdapter(context, request, view)
+

Bases: pyams_skin.page.DefaultPageHeaderAdapter

+

Security manager social providers header adapter

+
+
+back_url = '#security-manager.html'
+
+ +
+
+icon_class = 'fa fa-fw fa-share-alt'
+
+ +
+
+subtitle = 'Social networks login providers'
+
+ +
+
+title = 'Security manager'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SecurityManagerSocialProvidersIconColumn(context, request, table)
+

Bases: pyams_skin.table.ActionColumn

+

Security manager plugins icon column

+
+
+renderCell(item)
+
+ +
+
+weight = 1
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SecurityManagerSocialProvidersIdColumn(context, request, table)
+

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

+

Security manager plugins name column

+
+
+attrName = 'provider_id'
+
+ +
+
+cssClasses = {'th': 'action'}
+
+ +
+
+weight = 5
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SecurityManagerSocialProvidersNameColumn(context, request, table)
+

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

+

Security manager plugins name column

+
+
+attrName = 'provider_name'
+
+ +
+
+weight = 10
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SecurityManagerSocialProvidersTable(context, request)
+

Bases: pyams_skin.table.BaseTable

+

Security manager social providers table

+
+
+cssClasses = {'table': 'table table-bordered table-striped table-hover table-tight datatable'}
+
+ +
+
+data_attributes
+
+ +
+
+id = 'social_providers_table'
+
+ +
+
+title = 'Configured social networks login providers'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SecurityManagerSocialProvidersTrashColumn(context, request, table)
+

Bases: pyams_skin.table.TrashColumn

+

Security manager plugins trash column

+
+
+icon_hint = 'Delete provider'
+
+ +
+
+permission = 'pyams.ManageSystem'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SecurityManagerSocialProvidersValuesAdapter(context, request, view)
+

Bases: pyams_utils.adapter.ContextRequestViewAdapter

+

Security manager social providers values adapter

+
+
+values
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SecurityManagerSocialProvidersView(context, request)
+

Bases: pyams_zmi.view.AdminView, pyams_skin.container.ContainerView

+

Security manager social providers view

+
+
+table_class
+

alias of SecurityManagerSocialProvidersTable

+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SocialProviderAJAXAddForm(context, request)
+

Bases: pyams_form.form.AJAXAddForm, pyams_security.zmi.plugin.social.SocialProviderAddForm

+

Social provider add form, AJAX view

+
+
+get_ajax_output(changes)
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SocialProviderAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_security.zmi.plugin.social.SocialProviderEditForm

+

Social provider edit form, AJAX view

+
+ +
+
+class pyams_security.zmi.plugin.social.SocialProviderAddForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogAddForm

+

Social provider add form

+
+
+add(object)
+
+ +
+
+ajax_handler = 'add-social-provider.json'
+
+ +
+
+create(data)
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-share-alt'
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = 'Add new social login provider'
+
+ +
+
+title = 'Security manager'
+
+ +
+
+updateWidgets(prefix=None)
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SocialProviderEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

Social provider edit form

+
+
+ajax_handler = 'properties.json'
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-share-alt'
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = 'Edit social login provider properties'
+
+ +
+
+title = 'Security manager'
+
+ +
+
+updateWidgets(prefix=None)
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SocialToolbarAddingsAction(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarAction

+

Security manager social toolbar adding action

+
+
+label = 'Add provider'
+
+ +
+
+modal_target = True
+
+ +
+
+url = 'add-social-provider.html'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SocialUserAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_security.zmi.plugin.social.SocialUserEditForm

+

Social user edit form, AJAX view

+
+ +
+
+class pyams_security.zmi.plugin.social.SocialUserEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

Social user edit form

+
+
+ajax_handler = 'properties.json'
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-share-alt'
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = 'Edit user properties'
+
+ +
+
+title
+
+ +
+
+updateWidgets(prefix=None)
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SocialUsersFolderAJAXAddForm(context, request)
+

Bases: pyams_form.form.AJAXAddForm, pyams_security.zmi.plugin.social.SocialUsersFolderAddForm

+

Social users folder plug-in add form, AJAX handler

+
+ +
+
+class pyams_security.zmi.plugin.social.SocialUsersFolderAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_security.zmi.plugin.social.SocialUsersFolderEditForm

+

Social users folder plug-in edit form, AJAX handler

+
+ +
+
+class pyams_security.zmi.plugin.social.SocialUsersFolderAddForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogAddForm

+

Social users folder plug-in add form

+
+
+add(plugin)
+
+ +
+
+ajax_handler = 'add-social-users-folder.json'
+
+ +
+
+create(data)
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-share-alt'
+
+ +
+
+legend = 'Add social users folder plug-in'
+
+ +
+
+nextURL()
+
+ +
+
+title = 'System security manager'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SocialUsersFolderAddMenu(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarMenuItem

+

Social users folder add menu

+
+
+label = 'Add social users folder...'
+
+ +
+
+label_css_class = 'fa fa-fw fa-share-alt'
+
+ +
+
+modal_target = True
+
+ +
+
+url = 'add-social-users-folder.html'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SocialUsersFolderEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

Social users folder plug-in edit form

+
+
+ajax_handler = 'properties.json'
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-share-alt'
+
+ +
+
+legend = 'Edit social users folder plug-in properties'
+
+ +
+
+title
+
+ +
+
+updateWidgets(prefix=None)
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SocialUsersFolderSearchResultsView(context, request)
+

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

+

Social users folder search results view table

+
+
+cssClasses = {'table': 'table table-bordered table-striped table-hover table-tight datatable'}
+
+ +
+
+id = 'social_users_folder_search_table'
+
+ +
+
+title = 'Search results'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.social.SocialUsersFolderSearchView(context, request)
+

Bases: pyams_form.search.SearchView

+

Social users folder search view

+
+ +
+
+class pyams_security.zmi.plugin.social.SocialUsersFolderSearchViewHeaderAdapter(context, request, view)
+

Bases: pyams_skin.page.DefaultPageHeaderAdapter

+

Social users folder search view header adapter

+
+
+back_target = '#content'
+
+ +
+
+back_url = '#security-manager.html'
+
+ +
+
+icon_class = 'fa fa-fw fa-share-alt'
+
+ +
+
+subtitle
+
+ +
+
+title = 'Security manager'
+
+ +
+ +
+
+pyams_security.zmi.plugin.social.delete_social_provider(request)
+

Delete social provider from security manager

+
+ +
+
+pyams_security.zmi.plugin.social.handle_new_social_provider_data_extraction(event)
+

Handle new social provider data extraction

+
+ +
+
+pyams_security.zmi.plugin.social.handle_new_user_folder_data_extraction(event)
+

Handle new social users folder form data extraction

+
+ +
+
+

pyams_security.zmi.plugin.userfolder module

+
+
+class pyams_security.zmi.plugin.userfolder.ConfirmationDateColumn(context, request, table)
+

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

+

Users activation date column

+
+
+getValue(obj)
+
+ +
+
+weight = 40
+
+ +
+ +
+
+class pyams_security.zmi.plugin.userfolder.EmailColumn(context, request, table)
+

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

+

Users email column

+
+
+attrName = 'email'
+
+ +
+
+weight = 20
+
+ +
+ +
+
+class pyams_security.zmi.plugin.userfolder.LocalUserAJAXAddForm(context, request)
+

Bases: pyams_form.form.AJAXAddForm, pyams_security.zmi.plugin.userfolder.LocalUserAddForm

+

Local user add form, AJAX view

+
+
+get_ajax_output(changes)
+
+ +
+ +
+
+class pyams_security.zmi.plugin.userfolder.LocalUserAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_security.zmi.plugin.userfolder.LocalUserEditForm

+

Local user edit form, AJAX view

+
+ +
+
+class pyams_security.zmi.plugin.userfolder.LocalUserAddAction(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarAction

+

Users folder adding action

+
+
+label = 'Add user'
+
+ +
+
+modal_target = True
+
+ +
+
+url = 'add-user.html'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.userfolder.LocalUserAddForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogAddForm

+

Local user add form

+
+
+add(user)
+
+ +
+
+ajax_handler = 'add-user.json'
+
+ +
+
+autocomplete = 'off'
+
+ +
+
+create(data)
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-user'
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = 'Add new local user'
+
+ +
+
+title
+
+ +
+
+updateWidgets(prefix=None)
+
+ +
+
+update_content(user, data)
+
+ +
+ +
+
+class pyams_security.zmi.plugin.userfolder.LocalUserEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

Local user edit form

+
+
+ajax_handler = 'properties.json'
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-user'
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = 'Edit user properties'
+
+ +
+
+title
+
+ +
+
+updateWidgets(prefix=None)
+
+ +
+ +
+
+class pyams_security.zmi.plugin.userfolder.LoginColumn(context, request, table)
+

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

+

Users login column

+
+
+attrName = 'login'
+
+ +
+
+weight = 5
+
+ +
+ +
+
+class pyams_security.zmi.plugin.userfolder.NameColumn(context, request, table)
+

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

+

Users name column

+
+
+attrName = 'title'
+
+ +
+
+weight = 10
+
+ +
+ +
+
+class pyams_security.zmi.plugin.userfolder.RegistrationDateColumn(context, request, table)
+

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

+

Users registration date column

+
+
+getValue(obj)
+
+ +
+
+weight = 30
+
+ +
+ +
+
+class pyams_security.zmi.plugin.userfolder.UsersFolderAJAXAddForm(context, request)
+

Bases: pyams_form.form.AJAXAddForm, pyams_security.zmi.plugin.userfolder.UsersFolderAddForm

+

users folder plug-in add form, AJAX handler

+
+ +
+
+class pyams_security.zmi.plugin.userfolder.UsersFolderAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_security.zmi.plugin.userfolder.UsersFolderEditForm

+

Users folder plug-in edit form, AJAX handler

+
+ +
+
+class pyams_security.zmi.plugin.userfolder.UsersFolderAddForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogAddForm

+

Users folder plug-in add form

+
+
+add(plugin)
+
+ +
+
+ajax_handler = 'add-users-folder.json'
+
+ +
+
+create(data)
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-user'
+
+ +
+
+legend = 'Add local users folder plug-in'
+
+ +
+
+nextURL()
+
+ +
+
+title = 'System security manager'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.userfolder.UsersFolderAddMenu(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarMenuItem

+

Local users folder add menu

+
+
+label = 'Add local users folder...'
+
+ +
+
+label_css_class = 'fa fa-fw fa-user'
+
+ +
+
+modal_target = True
+
+ +
+
+url = 'add-users-folder.html'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.userfolder.UsersFolderEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

Users folder plug-in edit form

+
+
+ajax_handler = 'properties.json'
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-user'
+
+ +
+
+legend = 'Edit local users folder plug-in properties'
+
+ +
+
+title
+
+ +
+
+updateWidgets(prefix=None)
+
+ +
+ +
+
+class pyams_security.zmi.plugin.userfolder.UsersFolderSearchResultsView(context, request)
+

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

+

Users folder search results view table

+
+
+cssClasses = {'table': 'table table-bordered table-striped table-hover table-tight datatable'}
+
+ +
+
+id = 'users_folder_search_table'
+
+ +
+
+title = 'Search results'
+
+ +
+ +
+
+class pyams_security.zmi.plugin.userfolder.UsersFolderSearchView(context, request)
+

Bases: pyams_form.search.SearchView

+

Users folder search view

+
+ +
+
+class pyams_security.zmi.plugin.userfolder.UsersFolderSearchViewHeaderAdapter(context, request, view)
+

Bases: pyams_skin.page.DefaultPageHeaderAdapter

+

Users folder search view header adapter

+
+
+back_target = '#content'
+
+ +
+
+back_url = '#security-manager.html'
+
+ +
+
+icon_class = 'fa fa-fw fa-user'
+
+ +
+
+subtitle
+
+ +
+
+title = 'Security manager'
+
+ +
+ +
+
+pyams_security.zmi.plugin.userfolder.handle_new_user_data_extraction(event)
+

Handle new user form data extraction

+
+ +
+
+pyams_security.zmi.plugin.userfolder.handle_new_user_folder_data_extraction(event)
+

Handle new user folder form data extraction

+
+ +
+
+

Module contents

+
+
+ + +