Hide edit operation for fallback modeler
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3579115. --> Reported by: [jurgenhaas](https://www.drupal.org/user/168924) Related to !22 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>If a model has the modeler ID fallback or the ID of a non-existant modeler, the edit button will switch to the existing modeler, if only one is available.</p> <p>But if there are more than one non-fallback modelers, then that auto-switching doesn't work. In that case, using the edit operation would cause an "Access denied" response.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>In the entity operations hook, we should check for that scenario and remove the edit button to avoid that access denied response.</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue