I am trying to: Restrict access to the "Appearance > Menus "section to a specific language (WPML) for a specific role.
Link to a page where the issue can be seen: {siteUrl}/wp/wp-admin/nav-menus.php
I expected to see: Can edit only the menus associated to the right language.
Instead, I got: Can edit any menu from any language.
I tried creating a specific role with access only to the correct language "Menus" (in Toolset's "WPML groups" section) but I still can edit any menu.
Small precision: I'm only talking about the administration, not the frontend.
I don't want to hide menus from specific users / roles in the frontend, only in the admin.
I've just been testing this myself, and even without the complication of WPML and setting restrictions per language, it looks like using Access to control menus in the back end doesn't work at all.
I tested this on a local site where it wasn't working, so I set up an online sandbox site to have a clean environment to test, and confirm it also doesn't work there.
You can test that yourself by logging into the site with this link as and administrator, and then create an editor user (or edit the password of the existing one) to test the issue:
hidden link
I had a quick chat with the lead Toolset developer who thinks that settings for menus are offered by mistake, given the implementation within WordPress would require very different logic to control Access than post types.
I'm creating an internal ticket for us to work on this, but the short term solution may involve removing the settings for Nav Menus until such time as this feature could be implemented.
This is effectively a feature request, inasmuch as the logic for handling menus doesn't currently exist. (WordPress menus are actually a taxonomy, not a post type, even though settings are currently erroneously offered along with the other post types.)
I don't think anyone ever tried to use this feature before (otherwise this problem would have been identified sooner), and—realistically—a feature requested by just one person is unlikely to be treated as a priority, I'm afraid. Nevertheless, it is in our system.