Add test to check that user has permission to edit the node before we allow them to
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3465199. --> Reported by: [markconroy](https://www.drupal.org/user/336910) Related to !12 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>In <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/content_access_by_path/-/work_items/3463597" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/content_access_by_path/-/work_items/3463597</a></span> we realised that is someone has access to edit content at path /example, then they can edit all the content in there, even if they do not have permission to edit some of the content types.</p> <p>We have that fixed now, but it would be good to have a test to make sure it doesn't break again.</p>
issue