16/05/2016 at 15:38 #2332
Since the 4.25 pro update, I have noticed that page ids and custom post type ids are included on one input line on the profiles to “allow, prohibit or look at roles”. The problem with this is: Let’s say I want a user to see all of one custom post type AND only see three static regular pages. In the user role editor, I set up the role to edit regular pages and also check the proper custom post type to edit.
But when I go into the user’s profile, and enter the three page ids and “allow” them to see those, the custom posts can’t be seen. Maybe I need to allow all custom post type posts, but there over 350 posts with different authors, categories, and post ids. I am not sure.
Is there a way for you to separate the paged ids and custom post type post ids on profiles? Meaning, can I have them just see three page ids AND see all posts from a custom post type automatically?
Garrett17/05/2016 at 05:17 #2333
Thanks for the detailed description of the problem. I agree with you.
Different settings for every available post type will make a system more flexible.
It requires requires though to go carefully through all related code, plus user interface changes. I will add such update in a future.
Currently as a quick workaround I will add a filter, so you can manage to what post type to apply URE’s edit restriction and for what post type to ignore them.
It’s almost ready. I will publish it with 4.25.1 update in 1-2 days.18/05/2016 at 01:23 #2336
Great thank you so much!19/05/2016 at 04:29 #2352
I published version 4.25.1. It includes
ure_restrict_edit_post_typefilter, which allows to achieve your purpose. The example of this filter usage is available here:19/05/2016 at 15:26 #2355
Great!! Thank you for the quick turn around! I will take a look at the documentation and let you know know if I have any questions. This is a big help for me! I use your plugin for a website at San Diego State University for their various Social Worker Programs.01/09/2017 at 04:52 #4115
Has the “ure_restrict_edit_post_type” filter been removed recently? I am having the original issues again.
Garrett01/09/2017 at 05:00 #4116
This filter is still available. Check if it was not changed something at its definition at your side.01/09/2017 at 05:12 #4117
Ok thanks! I will look deeper into my set up
- You must be logged in to reply to this topic.