Update Project Browser clear storage permission
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3569479. -->
Reported by: [lostcarpark](https://www.drupal.org/user/346773)
Related to !34
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>The Project Browser "clear storage" function should only be used for debugging purposes, so it should not be under the general "access navigation extra tools cache flushing" permission.</p>
<p>As this functionality should only be used for debugging and development of the project browser module, it might be worth moving it into a submodule. That will be discussed in follow-on issue <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-1"><a href="https://www.drupal.org/project/navigation_extra_tools/issues/3569492" title="Status: Active">#3569492: Consider whether Project Browser Clear Storage should be a submodule</a></span>.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>N/A</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>This is the minimal change to require explicit permission to access the clear storage for project browser.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<ul>
<li>Add a new "access project browser clear storage" permission.</li>
<li>Change project browser clear storage to require new permission in routing.yml.</li>
</ul>
<h3 id="summary-ui-changes">User interface changes</h3>
<p>Users with "access navigation extra tools cache flushing" permission will no longer see project browser clear storage option.</p>
<h3 id="summary-api-changes">API changes</h3>
<p>None.</p>
<h3 id="summary-data-model-changes">Data model changes</h3>
<p>None.</p>
issue