Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterIn order to edit order details user should be capable edit products. Try to add capabilities from the “Products” group. I hope it will help.
30/01/2020 at 02:59 in reply to: You do not have sufficient permissions to access this admin page. #6585Vladimir
KeymasterYou can use functions.php file which belong to active theme.
Do you really have edit restrictions enabled and set for this user?
Vladimir
KeymasterHi,
Does vendor can:
1) see the list of orders?
2) open order for editing?Vladimir
KeymasterHi,
Yes, it’s possible. Go to “Settings->User Role Editor->Additional Modules” tab and turn ON the “Activate “Create” capability for posts/pages/custom post types” option.
Pay attention that you need to go through existing roles, like ‘Author’, ‘Editor’ and grant them (if needed) ‘create_posts’, ‘create_pages’ capability. The same is correct for ‘Shop Manager’ role, to which you will have to grant ‘create_orders’ capability.Vladimir
KeymasterHi,
The most probably ‘No’. If user has access to the list of items, he can to open selected item for editing. Generally WordPress and plugins use ‘edit_’ capability for access to the list of items, like ‘edit_posts’, ‘edit_products’. And we can not build read only access changing existing user permissions.
Vladimir
KeymasterUpdate:
If image was uploaded to Media Library and inserted into the post, its attachment record has that post ID as a post_parent.
But if user just select existing image from Media Library to insert to the post B, its parent post A stays the same, older one. URE can not select/count such image as attachment to the post B, which is allowed for editing by current user. URE looks at this Media Library item as attachment to the post A.Please open one of the child pages allowed for editing, click “Isert media”, upload new image and insert it into the page. Then open “Media Library” under restricted user. He should see, such image. But he will not see images uploaded by others for posts/pages, which he can not edit.
Vladimir
KeymasterHi,
Thanks for the report about this problem.
Right, Media Library should show to restricted user attachments for all pages which he can edit. While child pages are included into the list of editable items automatically with the parent page, related attachments are not included for some reason. I will investigate the issue and try to find a solution.
Vladimir
KeymasterHi @thebigbanik,
URE’s “Force custom post types to use their own capabilities’ works only for CPT, which has capability type ‘post’ – default for WordPress.
If you set other capability type for CPT you really should create capabilities list yourself, but look how WordPress does that for capability type ‘post’:
create_posts, edit_posts, delete_posts, publish_posts, edit_publish_posts, edit_others_posts.So you have to add not edit_blog, but edit_blogs, etc. Add ‘s’ to the end, if did not insert special multiple form at the CPU UI plugin.
Vladimir
KeymasterI do not have a solution to manage access to UI elements inside form editing page.
Vladimir
KeymasterMay be temporal networking problem or update server fault…
Vladimir
KeymasterVladimir
KeymasterIt’s possible to update URE Pro as any other WordPress plugin. Read this article:
Vladimir
KeymasterHappy New Year!
Thanks for letting me know that you resolved the issue.Vladimir
KeymasterHi,
Did you grant to a role at least ‘read’ capability?
25/12/2019 at 12:30 in reply to: Restrict edit access to certain posts, but not that posts children. #6203Vladimir
KeymasterHi @zatakk,
Go to Users, find problematic user line and click ‘Capabilities’ link under it. Check if ‘edit_shop_orders’ capability is not assigned to a user directly, not via role. Revoke ‘edit_shop_orders’ from this user then.
“Admin menu” shows admin menu items for a role accordingly to the list of capabilities granted to that role. This is a reason why ‘Orders’ menu item is not shown for a role.
P.S. This topic is about another problem. It’s better to start your own topic for another question in a future.
-
AuthorPosts