Change WordPress user roles and capabilities › Forums › New Feature Request › Role access based on page template
- This topic has 8 replies, 2 voices, and was last updated 6 years, 7 months ago by Vladimir.
-
AuthorPosts
-
02/12/2016 at 19:25 #3037City DevParticipant
Managing access based solely on IDs can get cumbersome—especially when dealing with a large site with pages that don’t always have a parent (thus requiring one to enter lots of IDs into a role).
It can also become difficult to remember where updates need to be made when things get moved around (i.e. having to add a new ID to a role or user because something is no longer the child of another page and other similar situations).
It would be great to have additional options that can help control access with a broader stroke.
Ubermenu provides similar functionality for conditionally displaying menu items based on IDs. They have a number of other options, but the one that seems most applicable is the ability to control the display of menu items based on the page template—with an additional option to supply multiple template names that then form an array.
So, one would provide the template name(s) and the role would then have access to all content using those templates—rather than needing to provide (and remember to update) the role with IDs.
03/12/2016 at 01:14 #3038VladimirKeymasterI like the idea with page template as the access criteria. Thanks.
I will realize it.24/04/2017 at 13:52 #3626City DevParticipantThanks for considering the request.
Just checking-in to see if you’re still planning to add page template as access criteria?
With larger sites that have lots of content editors, options for access control that have a broader stroke helps to simplify the process of managing roles.
25/04/2017 at 01:56 #3629VladimirKeymasterThank you for this remind.
I still plan to realize your suggestion, next month possibly.01/03/2018 at 16:13 #4638City DevParticipantJust touching base to keep this on your radar.
I realize you’re probably busy with all the other functionality you’re creating/managing.
02/03/2018 at 02:29 #4641VladimirKeymasterThanks for the remind and especially for your patience. I really missed this topic somehow.
I confirm that I will add this feature. I will try to make it available for testing as beta version in March, 2018.
04/04/2018 at 09:58 #4736VladimirKeymasterTry version 4.42 (published today).
Page templates list is available as blocking criteria for a role just below the categories.06/04/2018 at 17:08 #4759City DevParticipantThanks for working on this functionality.
Upon updating, I see that there is a new section under the “Post View Access” area of the user role edit screen, but nothing under the “Post Edit Access” area. Unfortunately, I’m looking to manage user edit access (not view access) based on page templates. I want to be able to be able to control what pages a user role is able to edit based on the template rather than needing to provide all the individual page IDs.
Perhaps I’m misunderstanding the functionality, but it currently appears that the functionality isn’t quite what I was expecting or needing.
07/04/2018 at 02:09 #4760VladimirKeymasterThanks for the additional information. OK. There was misunderstanding from my side here.
I will develop this feature for post/page edit restrictions.‘Page attributes’ section at the page editor should be unavailable for restrictions users, right? Other way user may change page template for a page and make it unavailable for him.
-
AuthorPosts
- You must be logged in to reply to this topic.