Forum Replies Created
31/10/2017 at 06:05 in reply to: Restrict access to page (doesn't appear in Admin menu) #4350
I use URE to enable the manage_options for the Editor role so that they can access and edit the ‘Appearance > Menu’.
Is there a way of enabling ‘Appearance > Menu’ without granting the complete manage_options?
A bit off-topic but: it looks like you have a local development environment for a Multisite. I’ve been struggling to set up a Multisite local development environment on my pc; do you have any links to resources which guide through how to do it at all please?
Thats fantastic – it works now! You’re amazing.
I didnt have the Content Restrictions boxes ticked (was working off a backup)
Thank you Vladimir
I added that code in as a Must Use plugin but the Editor can still seem to edit the shop (and basket – assuming its a typo) pages.
To note, I did also try the first approach, with the ID numbers and that did not work either for me
I hope this helps explain it better:
So for example, in my multisite network I couldnt lock the pages by ID, because depending on when the pages are created, it may not be the ID for the page I want to lock, however I could make sure that certain permalinks are reserved for the multisite for the locked pages hence why I’d like to be able to define the (reserved) permalinks for which are to be locked.
I hope that makes sense 🙂
That sounds a bit beyond my technical understanding at the moment, is that something you can help with the code for please?
Ah thank you. Looks like it may have been becuase on my main website the plugin was not activated, whereas it was on the subsite.
Thank you, I will try test that later today.
One thing I can foresee being a potential issue, is that the pages aren’t guaranteed to be the same.
For example the page ID for the Checkout page (with a permalink of checkout) for site 1 is likely to be different to the page ID for the Checkout page on site 2, 3 and 4.
Is it possible to restrict those pages based on permalink?
Thank, you I will do that now
Thank you for the link. I got as far as adding a new role, but I can’t seem to find how to access this panel:
Also, looking at the way the plugin works, I’m not sure how I would do it because I’m using it on a Multisite where a user can sign up for a website (which would take its content from one of my subsites as a template) and upon signup they are given the EDITOR role. In the template which their website is based on, there are a few PAGES (ecommerce and account related) which need to be protected from anyone other than ADMIN/NETWORK ADMIN. Is this achievable please?
I believe it may be coming from the WooCommerce Subscriptions (https://woocommerce.com/products/woocommerce-subscriptions). I’ve checked under the Administrator role too but it doesn’t seem to be their either:
Note: the role of the user which I am trying to hide the menu for, is EDITOR.