Hey there,
I am having an issue with limiting access to Divi pages specifically. When I limit access and open the admin dashboard on a test account to check if the desired options are avaliable/hidden, the actual link to the page changes! It only has been happening with a few links, and I’ve had to create a duplicate menu item to reference the correct link as a workaround. However, it isn’t ideal or futureproof.
Steps to reproduce:
-NOTE! These repro steps are for a specific page in a plugin to demonstrate the behavior I am talking about.
– Be on a wordpress site with both Divi and AME installed
– As an admin, hover over the Divi > Theme Options page and view the link (should be Your url/admin.php?page=et_divi_options)
– Give a non-admin role access to sub pages (Specifically Theme Options page)
Note on above: The way I achieved this was by giving WordPress Default role “Editor” the manage_options capability and restricted them to only be able to view Theme Options, Theme Builder, and Divi Library, and no other manage_options pages.
– Save settings and log in as a user with the modified role
– Hover over Divi > Theme Options and note the changed link (should be your url/et_divi_options)