Forum Replies Created
-
AuthorPosts
-
05/04/2022 at 13:08 in reply to: Give access to a specific role to access the “Redirection” plugin #7888
Vladimir
KeymasterHi Alejandro,
Right, Redirection plugin itself requires ‘manage_options’ capability. But “Tools” menu is protected by ‘edit_posts’. Add ‘edit_posts’ capability to your role and “Tools” menu will appear with “Redirection” and some other submenu items together.
Vladimir
KeymasterThanks a lot for the help.
Vladimir
KeymasterYou may try a beta version 4.62.1.b1. It’s available after login from the “Download” page.
Vladimir
KeymasterI don’t have Themify on hands to give you more exact information.
Goto “Users->User Role Editor”, select your role, go through the existing ‘Custom Post Types’ and look if there are any not turned ON checkboxes.Vladimir
KeymasterI found and fixed the bug. I will include it to the next update.
To @epss: I uploaded to dev copy the updated file
user-role-editor-pro/pro/includes/classes/gf-access-user.php
.The begin of get_roles_data() function was replaced from:
private static function get_roles_data( $user_id, $user_what_to_do ) { $all_forms = array(); $access_data = get_option( URE_GF_Access_Role::ACCESS_DATA_KEY ); if ( !is_array( $access_data ) ) { return $all_forms; } $what_to_do = -1; // Not initialized
to
private static function get_roles_data( $user_id, $user_what_to_do ) { $access_data = get_option( URE_GF_Access_Role::ACCESS_DATA_KEY ); if ( !is_array( $access_data ) ) { $data = array( 'what_to_do'=>1, 'forms_list'=>array() ); return $data; } $all_forms = array(); $what_to_do = -1; // Not initialized
Vladimir
KeymasterI confirm the issue. Thank you for the provided information and access/data for testing. I work on the fix.
Vladimir
KeymasterThanks for the notification. Error in line 211 is caused by a typo skipped the tests somehow. Valid method name for call here is URE_GF_Access_User::get_gf_list(). Fixed.
Related update was introduced with version 4.61 “New: Gravity Forms Edit Access add-on: It’s possible to set what forms is allowed to edit for the selected role.”. It should use “Allow” value by default for not updated user profiles.
I’m ready to investigate the issue. If it’s possible to get admin access to your site (stage/development copy better) send credentials to support [at-sign] role-editor.com
Vladimir
KeymasterThank you. I will investigate this and apply your fix, enhance this part if needed.
Vladimir
Keymaster@City_Employee,
Right, Admin Menu Editor Pro plugin fully redefines WordPress admin menu, including its permissions if you select such option. It’s expected behavior from it.
Vladimir
KeymasterI fully agree with your enhancement request. Thanks.
I have hosted role-editor.com at AWS servers many years, taking in account the international clients base. Recently, as I lost ability to pay bills from the foreign service providers, I had to move role-editor.com to the facilities located in Russia. Sorry, I will work on the request as soon as the international payments/hosting services become available again.
Vladimir
KeymasterThank you.
Vladimir
KeymasterHi,
Try to deactivate/activate back User Role Editor Pro plugin. If you don’t see URE Pro in the plugin list, rename its folder, e.g. user-role-editor-pro-0, open plugins page – WordPress will deactivate URE Pro automatically. Then rename folder to original back and activate URE Pro. URE grants full list of capabilities to administrator role on activation.
Vladimir
Keymaster@geascedia-com, try the updated Beta 2 version.
Vladimir
Keymaster@geascedia-com, thanks for the help with testing.
What about 3 checkboxes?
[x] Append additional roles.
[x] Overwrite existing roles.
[x] Remove not existing roles.When all 3 checkboxes are selected we have full rewrite case as it works currently.
Vladimir
KeymasterBeta version 4.62.b1 includes “Export from CSV” feature (Settings->User Role Editor->Tools). Download it for testing from the “Download” page after login.
You can use previously exported from User Role Editor CSV file.
-
AuthorPosts