Problem/Motivation
We've recently started using this module and it's been very useful in helping to split up node form fields between modes. One thing we could use is a way to make a form mode available on all bundles to selected roles. This would help prevent us from having to update hundreds (possibly thousands) of permissions needed to filter out our separate form mode from the default one.
As an aside, given the number of entity types and bundles that we're working with, it's impossible to use the module's admin form because it times out. We might want to look into this as well.
Steps to reproduce
N/A
Proposed resolution
Define and implement a separate permission along the lines of use The form mode %mode linked to all bundles on %entity_type_id
Remaining tasks
- Implement the permission
- Adjust admin UI to account for change
User interface changes
None with the basic change.
Some changes may be required on the admin form to handle large numbers of entity types, bundles, and user roles.
API changes
None.
Data model changes
None.
Issue fork form_mode_control-3458442
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
geoffreyr commentedThis might be a little more complicated than I'd hoped because there's currently no way to enable or disable specific entity types from being managed by this module. It's all or nothing, which is probably why the admin form is crashing hard all the time.
I might take a look at https://www.drupal.org/project/form_mode_control/issues/3431354 which aims to fix some of the config mapping issues.
Comment #3
dieterholvoet commentedI refactored the module in #3565648: Fix configuration structure, this should be easier to implement now.