Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterHi,
Thanks for letting me know that you found a solution.
Just in case it will be helpful, URE Pro offers a custom filter ure_edit_posts_access_id_list. You can get a list of posts ID (comma separated string) allowed/prohibited for editing to current user via this hook.Access restriction type (allow/block) is available via filter ure_edit_posts_access_restriction_type.
Vladimir
KeymasterHi,
My test showed that Divi Role Editor shows only roles which has ‘edit_posts’ capability. Try to add it to your role and check if it will become visible at Divi Role Editor after that.
Vladimir
KeymasterWe need to take into account also that, when we prohibit some posts by terms ID, posts without term are still available.
Vladimir
KeymasterJust some information about post number counting accuracy.
“Division Access” taxonomy is used not by posts only. It is used by events also. So numbers ‘Posts->Division Access’ by categories do not show post number by this taxonomy terms, but some general number which includes events and posts together.17/11/2017 at 10:15 in reply to: Admin profile lost some of the Categories after latest update #4418Vladimir
KeymasterThanks for the additional details. I meet a such issue the 1st time.
Is it possible to look at your site with ‘administrator’ privileges? If ‘Yes’, send login credentials to support [at-sign] role-editor.comVladimir
KeymasterI meant under “All” one of the links to the posts list views: “All, Mine, Published, Drafts”.
Unfortunately I can not repeat the main issue from your report – empty posts list.
Can you check system logs at your stage copy for any PHP/MySQL errors which could be related to this issue?Vladimir
KeymasterExcuse me for such a delay with answer.
My test shows that ‘All’ posts list is empty for user with ‘ECD Curator’ role just in one case when there special constant for WP Engine is not defined:
define(‘WPE_GOVERNOR’, false);You have it in a provided files copy. I just suppose that you met a problem with another (possibly stage) copy, do you?
I will continue with numbers count tests.
16/11/2017 at 14:32 in reply to: Admin profile lost some of the Categories after latest update #4413Vladimir
KeymasterUser Role Editor (URE) does not set any restrictions for administrator role.
Check if URE deactivation will help to understand that problem is related exactly to URE.16/11/2017 at 07:47 in reply to: Admin profile lost some of the Categories after latest update #4410Vladimir
KeymasterHi,
Do those users has a custom role with administrator privileges or do you write about about users with ‘administrator’ role?
Do you use Edit restrictions add-on? If ‘Yes’, try to deactivate it. Will it help? If Yes, activate this add-on back and re-check if role(s) granted to user is restricted by add-on or user itself has restricted access to posts editing.
Vladimir
KeymasterHi,
This more sophisticated way requires more coding. May be I will write such add-on with time.
There is a plugin Revisionize which makes this. I did not tested it though.
Vladimir
KeymasterHi James,
“Hide Screen Options by user roles” feature is still in plans.
Thanks for the good feedback.Vladimir
KeymasterThanks. I got it. I will try to isolate the issue.
Vladimir
KeymasterHi,
I tested a restricted user with WP built-in posts. Search function at the “Insert Link” window works as expected and showed a post, while it’s prohibited for editing, that is unavailable for this user at the main posts list.
Check if there are any JavaScript errors at the browser console.
Vladimir
KeymasterHi Sarah,
Can you share with me (support [at-site] role-editor.com) via DropBox or similar a copy of site files (without wp-uploads) and exported database (possibly without wp_users table)?
I will investigate your report using your own data then.
09/11/2017 at 05:35 in reply to: using the ure_restrict_edit_post_type filter with custom taxonomy #4387Vladimir
Keymaster‘ure_restrict_edit_post_type’ filter influences to the whole post type (restrict it or do not restrict), not on the current post only. So condition
has_term( 'finance-resources', 'department' )is not applicable here.
What if to use another blocking model, that is ‘Block’ instead of ‘Allow’. Then URE will hide blocked terms, but any other will still be available.
For example you have categories: 1, 3, 8, 9, 15 and a lot of terms from other taxonomies. You wish to allow to edit just category 3 from the “Categories” taxonomy. Then select “Block” and input into categories ID list field: 1, 8, 9, 15. It should give you a need effect.I will add a custom filter for terms ID list into the next version. So it will be possible to set the list of prohibited posts by program not manually, which will provide a possibility of a more universal solution.
Manage restrictions directly for the different taxonomies available for the same post type seems a complex task, due to data structure used by WordPress. I suppose also that this feature is not in a high-demand category.
There is a ‘ure_edit_posts_access_id_list’ custom filter which allows to set posts ID list to allow or block for editing.
So you can scan posts list for current user role and built a posts-list by your own checking any terms and taxonomies for the single post from a list of available posts.It’s possible to set a restriction type via custom filter too. For example:
add_filter('ure_edit_posts_access_restriction_type', 'ure_edit_posts_access_set_restriction_type'); function ure_edit_posts_access_set_restriction_type($restriction_type) { $restriction_type = 2; // Block return $restriction_type; } -
AuthorPosts