mrupio
Forum Replies Created
-
Riza,
So the fact that new pages got into limit rules (when “(none)” was selected) was a feature or a bug?
I created dedicated page “no parent page” with no parent and I use it to achieve what I described earlier.
No, that’s not what is meant by “(none)”.
Riza, can you tell me what means “(none)” is this selection?
- This reply was modified 1 year, 11 months ago by mrupio.
Why did you set ‘limit to’ into ‘none’ ?
I want to prohibit users from changing parent page, but I want to leave them ability to set the parent page to “none” (“no parent”, “no existing” – however we call it), so the users could switch parent between “the one and only parent I allow them” and “no parent page at all”.
Can you try to delete it and see if you still face the issue?
I did try and that’s it – the issue has vanished.
But this questions remain:
What mistake have I done? Wasn’t it legal to set “Limit to” to “none”? If so, than why is it possible to perform? Finally: How can I set “Limit to” to “none” and avoid newly created pages to appear in existing “Limit to” list?
Riza, thank you for your commitment.
There are differences between what I have performed and what is shown in your video.
I guess (and I hope) my video below will dispel all doubts about steps that should be followed.
As you can see I use plugins User Role Editor (Edytor Ról U?ytkowników), PublishPress Capabilities and PublishPress Permissions.
It’s possible you have missed something, but it’s because of my limited English command.
I’ll try to explain the issue in a bit specific way.
Here’s how to recreate it:
- Create a role with “Set as parent, Limit to” set to particular existing page (let’s name it “Parent”).
I have also assigned “(no parent)” to “Set as parent, Limit to” as you can see in one of my previous images. - Moreover allow this role to edit page “Child”. Let’s say this page has its parent page set to “Parent”.
(I want to bond “Child” page with “Parent” or “(no parent)” permanently and I don’t want users who can edit “Child” to be able to change it, i.e. not to allow them to choose another parent.) - Create a new Subscriber user (“User”) and assign him a suplementar role from point 1.
- Login in as “User”, start to edit “Child” and try to drop down “Parent Page” drop-down list. You should see list that consists of “Parent” and “(no parent)”. So far it is expected behavior.
- In another session login as administrator and create new page “New Page”.
- Refresh User’s session and try to drop down “Parent Page” list once again. There’s also newly created “New Page” in this list. This is not what I have expected.
- In permissions of role from point 1. you can see that new entry in “Limit to” list was created (for “New Page”).
- This reply was modified 1 year, 11 months ago by mrupio.
Hi Riza
I can see these images in Firefox (which I use) but not in Chrome nor in Edge.
They are served through http. Perhaps this is the reason…
Anyway.
The first image:
https://obrazki.rsm.com.pl/wordpresspermissions/1.jpg
and the second one:
https://obrazki.rsm.com.pl/wordpresspermissions/2.jpg
- This reply was modified 1 year, 11 months ago by mrupio.