
thebigbanik(@thebigbanik)
2 Posts
Customers
Quote from thebigbanik on September 18, 2020, 10:34
Hi, it looks like shop managers don't have permissions to edit anything. I use User Role Editor but there is not cpabilities reffering to Woobe. How can I fix this? Thanks. (I use the free version).
Hi, it looks like shop managers don't have permissions to edit anything. I use User Role Editor but there is not cpabilities reffering to Woobe. How can I fix this? Thanks. (I use the free version).

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on September 18, 2020, 11:10
Hello
user must have - manage_options
OR read this ( https://c2n.me/497WwDb.png ) - https://bulk-editor.com/update-2-0-6/
Hello
user must have - manage_options
OR read this ( https://c2n.me/497WwDb.png ) - https://bulk-editor.com/update-2-0-6/

thebigbanik(@thebigbanik)
2 PostsTopic Author
Customers
Quote from thebigbanik on September 18, 2020, 11:21
Hi, thanks for the answer but this doesn't seem to work. I had already gave the "manage_options" capability and also gave additional role as an administrator. Only Super admin can edit. I haven't tried the code, in which file should I put it? Thanks.

Hi, thanks for the answer but this doesn't seem to work. I had already gave the"manage_options" capability and also gave additional role as an administrator. Only Super admin can edit. I haven't tried the code, in which file should I put it? Thanks.


Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on September 21, 2020, 09:56
Hello
Ok! Try to add in functions.php add code:
add_filter('woobe_user_can_edit', function($is_forbidden, $field_key, $shop_manager_visibility_array) {
$is_forbidden = 1;
return $is_forbidden;
}, 10, 3);
Hello
Ok! Try to add in functions.php add code:
add_filter('woobe_user_can_edit', function($is_forbidden, $field_key, $shop_manager_visibility_array) {
$is_forbidden = 1;
return $is_forbidden;
}, 10, 3);