Forum Replies Created
-
AuthorPosts
-
VladimirKeymaster
2. Look, what user(s) is the author of post created by Gravity Forms. Add user ID to the list of authors which post you allow to edit for this user.
VladimirKeymasterHello Mike,
This option is useful when site has few custom post types protected by the same (default) capability type (post): edit_posts, delete_posts, etc., but some users should have access to the subset of such post types only. When you turn this option ON, custom post type ‘video’ gets permissions: edit_videos, delete_videos instead. And you have to grant those new capabilities to a role or user in order provide access to this post type.
VladimirKeymasterUser “Alana Woody” is not restricted by URE as she is not included into SBU004 analytics group. I don’t think that URE is related here.
Btw., can you provide step by step scenario in order to repeat this?
VladimirKeymasterHi,
Test the updated version. My test at http://www.iu13.org was finished successfully.
As a result of my investigations, I replaced code extracting pages list with SBU004 analytics group from the WP API to the direct SQL command, which will not exclude from the result the pages with post_status related to Oasis Workflow plugin, etc.
VladimirKeymasterHi,
Thank you for the patience. Give me few days more. I will try to get the final conclusion on the issue to the next Monday.
VladimirKeymasterHi,
Unfortunately, I did not find a solution for today. I will make the few tries more though.
VladimirKeymasterI found that “Advance Custom Fields” plugin stores its custom fields data as the custom post type ‘acf-field’. This may be a problem, why some of revisioned values of such fields were not available when URE applied edit restrictions by the list of the post ID, as ‘acf-field’ custom post type was not included into the list of records available for the current user.
I added ‘acf-field’ custom post type to the arguments list of the code at your functions.php file:
$posts = get_posts(array( 'numberposts' => -1, 'post_type' => array('tribe_events','page','revision','acf-field'), 'post_status' => 'any', 'meta_query' => array( 'relation' => 'OR', array( 'key' => 'analytics_group_name', 'value' => $ag, 'compare' => 'IN', ), ), ));
As you use revisions, I added revision post type too and replaced post status to ‘any’ (revision has ‘inherit’ post status’).
Restricted user sees the latest content now at my test site. Make a new test at your own.
VladimirKeymasterI reproduced and investigate now some of the described problems with content versioning/revisions.
The conflict takes place between code which restricts edit access by pages ID list and Advanced Custom Fields which shows the latest content for the ‘draft’ page, when the edit restrictions were switched off, and shows some older cached content when edit restrictions are active.
I did not find solution to the moment and continue working on this problem.
VladimirKeymasterThanks for the detailed description. I will try to reproduce and investigate this.
VladimirKeymaster“Admin menu” dialog show admin menu items according to the selected role permissions. In order to see “Appearance” menu there role should can at least “edit_theme_options”.
VladimirKeymasterHi,
@localmediach, what do you see at the subsite “Admin menu” when you open it for the same role, no any checkboxes selected?If that’s applicable, you may send superadmin credentials to support [at-sign] role-editor.com, I will look what is going wrong.
VladimirKeymasterURE Pro does not offer any custom solution to control Divi modules visibility.
VladimirKeymasterHi,
All menu items added by this plugin are protected by ‘manage_options’ user capability.
It’s possible to replace it via custom filter'wpum_admin_pages_capability'
.VladimirKeymasterHi ataeipour,
You can add such code to the functions.php file of your active theme.
07/07/2021 at 16:44 in reply to: I can neither find nor trigger the “read” capability for custom post types #7615VladimirKeymasterHi Till,
There is no such ‘read’ capability for the custom post types. You can restrict view for th selected posts using “Posts view access” add-on.
-
AuthorPosts