Is there any more graceful way to have form widget mode pivot on permission than to monkey patch plone.autoform.utils._process_widgets
?
- permissions for write, read apply to fields
- modes (
'input'
,'display'
) apply to widgets - without patching, there's not a way to achieve synthesis of these functionalities?
- e.g. "only users with
Manage portal
permission for form context get'input'
mode on a field, but everyone else gets'display'
.
- e.g. "only users with