Different permissions suggestion and empty fieldsets
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #2390755. --> Reported by: [nemanja](https://www.drupal.org/user/1999300) >>> <p>I suggest creation of one permissions for configuration of attributes inside of menu settings, and the second is for single node edit page. Currently there are few lines that i found which require "administer menu attributes" which is probably for the whole module...</p> <pre>$has_visible_children = (bool) element_get_visible_children($form['options']['attributes']);<br>&nbsp; $user_has_access = user_access('administer menu attributes');<br>&nbsp; $form['options']['attributes']['#access'] = ($has_visible_children &amp;&amp; $user_has_access);</pre><p>The second thing that i found is that if there are no attributes items inside node edit form fieldset will remain there which makes a little confusion.</p>
issue