pyams_security.widget package¶
-Submodules¶
-pyams_security.widget.interfaces module¶
-Module contents¶
--
-
-
-class
pyams_security.widget.
PermissionDataConverter
(field, widget)¶
- Bases:
-z3c.form.converter.BaseDataConverter
Permission data converter
--
-
-
-
toFieldValue
(value)¶
-
-
-
-
-
toWidgetValue
(value)¶
-
-
-
-
-
-
-
pyams_security.widget.
PermissionFieldWidget
(field, request)¶
- Permission field widget factory
-
-
-
-
-class
pyams_security.widget.
PermissionWidget
(request)¶
- Bases:
-z3c.form.browser.select.SelectWidget
Principal widget
--
-
-
-
extract
(default=<NO_VALUE>)¶
-
-
-
-
-
isSelected
(term)¶
-
-
-
-
-
items
()¶
-
-
-
-
-
value_map
¶
-
-
-
-
-
-
-class
pyams_security.widget.
PermissionsSetDataConverter
(field, widget)¶
- Bases:
-z3c.form.converter.BaseDataConverter
Permissions set data converter
--
-
-
-
toFieldValue
(value)¶
-
-
-
-
-
toWidgetValue
(value)¶
-
-
-
-
-
-
-
pyams_security.widget.
PermissionsSetFieldWidget
(field, request)¶
- Permissions set field widget factory
-
-
-
-
-class
pyams_security.widget.
PermissionsSetWidget
(request)¶
- Bases:
-z3c.form.browser.widget.HTMLInputWidget
,z3c.form.widget.Widget
Permissions set widget
--
-
-
-
values_data
¶
-
-
-
-
-
values_map
¶
-
-
-
-
-
values_str
¶
-
-
-
-
-
-
-class
pyams_security.widget.
PrincipalDataConverter
(field, widget)¶
- Bases:
-z3c.form.converter.BaseDataConverter
Principal data converter
--
-
-
-
toFieldValue
(value)¶
-
-
-
-
-
toWidgetValue
(value)¶
-
-
-
-
-
-
-
pyams_security.widget.
PrincipalFieldWidget
(field, request)¶
- Principal field widget factory
-
-
-
-
-class
pyams_security.widget.
PrincipalWidget
(request)¶
- Bases:
-z3c.form.browser.widget.HTMLInputWidget
,z3c.form.widget.Widget
Principal widget
--
-
-
-
value_map
¶
-
-
-
-
-
-
-class
pyams_security.widget.
PrincipalsSetDataConverter
(field, widget)¶
- Bases:
-z3c.form.converter.BaseDataConverter
Principals set data converter
--
-
-
-
toFieldValue
(value)¶
-
-
-
-
-
toWidgetValue
(value)¶
-
-
-
-
-
-
-
pyams_security.widget.
PrincipalsSetFieldWidget
(field, request)¶
- Principals set field widget factory
-