pyams_security.zmi package¶
+Subpackages¶
+ +Submodules¶
+pyams_security.zmi.interfaces module¶
+pyams_security.zmi.notification module¶
+-
+
-
+class
pyams_security.zmi.notification.
SecurityManagerNotificationsAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_security.zmi.notification.SecurityManagerNotificationsEditForm
Security manager notifications edit form, AJAX view
+
-
+
-
+class
pyams_security.zmi.notification.
SecurityManagerNotificationsEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
Security manager notifications edit form
+-
+
-
+
ajax_handler
= 'notifications.json'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSystem'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
getContent
()¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-envelope-o'¶
+
-
+
-
+
input_css_class
= 'col-md-7'¶
+
-
+
-
+
label_css_class
= 'control-label col-md-5'¶
+
-
+
-
+
legend
= 'Notifications properties'¶
+
-
+
-
+
title
= 'System security manager'¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_security.zmi.notification.
SecurityManagerNotificationsMenuItem
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Notifications properties menu item
+-
+
-
+
get_url
()¶
+
-
+
-
+
label
= 'Notifications...'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'notifications.html'¶
+
-
+
pyams_security.zmi.profile module¶
+-
+
-
+class
pyams_security.zmi.profile.
PublicProfileTabForm
(context, request, view=None)¶
+ Bases:
+pyams_zmi.form.InnerAdminEditForm
Public profile tab form
+-
+
-
+
edit_permission
= None¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
getContent
()¶
+
-
+
-
+
input_css_class
= 'col-md-8'¶
+
-
+
-
+
label_css_class
= 'control-label col-md-4'¶
+
-
+
-
+
legend
= None¶
+
-
+
-
+
tab_label
= 'Public profile'¶
+
-
+
-
+
weight
= 10¶
+
-
+
-
+
-
+class
pyams_security.zmi.profile.
UserLoginMenuItem
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
User login menu item
+
-
+
-
+class
pyams_security.zmi.profile.
UserLogoutMenuDivider
(context, request, view, manager)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuDivider
User logout menu divider
+
-
+
-
+class
pyams_security.zmi.profile.
UserLogoutMenuItem
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
User logout menu item
+-
+
-
+
css_class
= 'logout'¶
+
-
+
-
+
icon_class
= 'fa-sign-out'¶
+
-
+
-
+
label
= 'Logout'¶
+
-
+
-
+
url
= 'logout.html'¶
+
-
+
-
+
-
+class
pyams_security.zmi.profile.
UserProfileAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_security.zmi.profile.UserProfileEditForm
User profile edit form, JSON renderer
+
-
+
-
+class
pyams_security.zmi.profile.
UserProfileEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
User profile edit form
+-
+
-
+
ajax_handler
= 'user-profile.json'¶
+
-
+
-
+
check_mode
()¶
+
-
+
-
+
dialog_class
= 'modal-large'¶
+
-
+
-
+
edit_permission
= None¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
getContent
()¶
+
-
+
-
+
legend
= 'Edit user profile'¶
+
-
+
-
+
title
¶
+
-
+
pyams_security.zmi.security module¶
+-
+
-
+class
pyams_security.zmi.security.
ProtectedObjectRolesAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_security.zmi.security.ProtectedObjectRolesEditForm
Protected object roles edit form, AJAX view
+
-
+
-
+class
pyams_security.zmi.security.
ProtectedObjectRolesEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminEditForm
Protected object roles edit form
+-
+
-
+
ajax_handler
= 'protected-object-roles.json'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageRoles'¶
+
-
+
-
+
fields
¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-users'¶
+
-
+
-
+
legend
= 'Granted users roles'¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_security.zmi.security.
ProtectedObjectRolesEditFormHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_skin.page.DefaultPageHeaderAdapter
Protected object security edit form header adapter
+-
+
-
+
icon_class
= 'fa fa-fw fa-users'¶
+
-
+
-
+
-
+class
pyams_security.zmi.security.
ProtectedObjectRolesMenuItem
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Protected object roles menu item
+-
+
-
+
icon_class
= 'fa-users'¶
+
-
+
-
+
label
= 'Access rules'¶
+
-
+
-
+
modal_target
= False¶
+
-
+
-
+
url
= '#protected-object-roles.html'¶
+
-
+
-
+
-
+class
pyams_security.zmi.security.
ProtectedObjectSecurityPolicyAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_security.zmi.security.ProtectedObjectSecurityPolicyEditForm
Protected object security policy edit form, JSON renderer
+
-
+
-
+class
pyams_security.zmi.security.
ProtectedObjectSecurityPolicyEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
Protected object security policy edit form
+-
+
-
+
ajax_handler
= 'security-policy.json'¶
+
-
+
-
+
dialog_class
= 'modal-large'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSecurity'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-key'¶
+
-
+
-
+
legend
= 'Update security policy'¶
+
-
+
-
+
-
+class
pyams_security.zmi.security.
ProtectedObjectSecurityPolicyMenuItem
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Protected object security policy menu item
+-
+
-
+
icon_class
= 'fa-key'¶
+
-
+
-
+
label
= 'Security policy...'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'security-policy.html'¶
+
-
+
pyams_security.zmi.utility module¶
+-
+
-
+class
pyams_security.zmi.utility.
SecurityManagerAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_security.zmi.utility.SecurityManagerEditForm
Security manager edit form, AJAX view
+
-
+
-
+class
pyams_security.zmi.utility.
SecurityManagerEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
Security manager edit form
+-
+
-
+
ajax_handler
= 'properties.json'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSecurity'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
getContent
()¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-lock'¶
+
-
+
-
+
input_css_class
= 'col-md-7'¶
+
-
+
-
+
label_css_class
= 'control-label col-md-5'¶
+
-
+
-
+
legend
= 'Security manager properties'¶
+
-
+
-
+
title
= 'System security manager'¶
+
-
+
-
+
update
()¶
+
-
+
-
+
-
+class
pyams_security.zmi.utility.
SecurityManagerHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_skin.page.DefaultPageHeaderAdapter
Security manager header adapter
+-
+
-
+
icon_class
= 'fa fa-fw fa-lock'¶
+
-
+
-
+
subtitle
= 'Security manager'¶
+
-
+
-
+
-
+class
pyams_security.zmi.utility.
SecurityManagerMenuItem
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Security manager menu
+-
+
-
+
icon_class
= 'fa-lock'¶
+
-
+
-
+
label
= 'Security'¶
+
-
+
-
+
url
= '#security-manager.html'¶
+
-
+
-
+
-
+class
pyams_security.zmi.utility.
SecurityManagerPluginsNameColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.I18nColumn
,z3c.table.column.GetAttrColumn
Security manager plugins name column
+-
+
-
+
attrName
= 'title'¶
+
-
+
-
+
weight
= 10¶
+
-
+
-
+
-
+class
pyams_security.zmi.utility.
SecurityManagerPluginsSearchColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.ActionColumn
Security manager plugins search column
+-
+
-
+
icon_class
= 'fa fa-fw fa-search'¶
+
-
+
-
+
icon_hint
= 'See plug-in contents'¶
+
-
+
-
+
renderCell
(item)¶
+
-
+
-
+
url
= 'search.html'¶
+
-
+
-
+
weight
= 1¶
+
-
+
-
+
-
+class
pyams_security.zmi.utility.
SecurityManagerPluginsTable
(context, request)¶
+ Bases:
+pyams_skin.table.BaseTable
Security manager plug-ins table
+-
+
-
+
data_attributes
¶
+
-
+
-
+
id
= 'security_manager_table'¶
+
-
+
-
+
title
= 'Authentication and users directory plug-ins'¶
+
-
+
-
+
-
+class
pyams_security.zmi.utility.
SecurityManagerPluginsTrashColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.TrashColumn
Security manager plugins trash column
+-
+
-
+
checker
(col, x)¶
+
-
+
-
+
icon_hint
= 'Delete plug-in'¶
+
-
+
-
+
permission
= 'pyams.ManageSecurity'¶
+
-
+
-
+
-
+class
pyams_security.zmi.utility.
SecurityManagerPropertiesMenuItem
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Security manager properties menu
+-
+
-
+
get_url
()¶
+
-
+
-
+
label
= 'Properties...'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'properties.html'¶
+
-
+
-
+
-
+class
pyams_security.zmi.utility.
SecurityManagerTableElementEditor
(context, request, view)¶
+ Bases:
+pyams_skin.table.DefaultElementEditorAdapter
Security manager table element editor
+-
+
-
+
modal_target
= False¶
+
-
+
-
+
url
¶
+
-
+
-
+
view_name
= 'security-manager.html'¶
+
-
+
-
+
-
+class
pyams_security.zmi.utility.
SecurityManagerValuesAdapter
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Security manager values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_security.zmi.utility.
SecurityManagerView
(context, request)¶
+ Bases:
+pyams_zmi.view.AdminView
,pyams_skin.container.ContainerView
Security manager view
+-
+
-
+
table_class
¶
+ alias of
+SecurityManagerPluginsTable
-
+
-
+
-
+
pyams_security.zmi.utility.
delete_security_manager_plugin
(request)¶
+ Delete plug-in from security manager
+