A client has a few requests related to hiding or showing menu items to users in various roles. For example, the entire menu Site Admin -> Appearance becomes available with capability "moodle/site:config" (possibly others?) but specific capabilities for items within that menu are not necessarily included. So a user may have capability "moodle/tag:manage" but won't see the menu if they don't also have site:config
In this example there are other ways to get to the "manage tags" page without the admin menu. I'm not sure about some other menu items.
I guess ths comes down to how many capabilities is it worth adding. Or is it too complex to split the menu down but all available capabilities?