I have created a custom role order_manager and it is a copy of shop_manager.
However, am not able to give the custom role access to view modules in the analytics section.
Even after granting all permissions, am having this error Sorry, you are not allowed to access this page.
Can you please advise
However, I noticed that if:
Expectations: User roles displayed names listed in arabic, including “Translation of Web Designer”.
Actual result: User roles displayed names listed in arabic, except “Translation of Web Designer” which is displayed in english as “Web Designer”.
My concern: What should I do to get expected result?
]]>Am i missing a setting in the plugin in order for this to occur?
]]>wp-json/wp/v2/media
.add_role(
'candidate',
__( 'Candidate' ),
array(
'read' => true,
'edit_posts' => false,
'edit_users' => true,
'upload_files' => true
)
);
]]>The Code is here,
add_role(
'seller', __( 'Vendor', 'dokan-lite' ), [
'read' => true,
'publish_posts' => true,
'edit_posts' => true,
'delete_published_posts' => true,
'edit_published_posts' => true,
'delete_posts' => true,
'manage_categories' => true,
'moderate_comments' => true,
'unfiltered_html' => true,
'upload_files' => true,
'edit_shop_orders' => true,
'edit_product' => true,
'read_product' => true,
'delete_product' => true,
'edit_products' => true,
'publish_products' => true,
'read_private_products' => true,
'delete_products' => true,
'delete_private_products' => true,
'delete_published_products' => true,
'edit_private_products' => true,
'edit_published_products' => true,
'manage_product_terms' => true,
'delete_product_terms' => true,
'assign_product_terms' => true,
'dokandar' => true,
]
);
add_role(
'solo-teacher-a', __( 'Solo Teacher A', 'dokan-lite' ), [
'read' => true,
'publish_posts' => true,
'edit_posts' => true,
'delete_published_posts' => true,
'edit_published_posts' => true,
'delete_posts' => true,
'manage_categories' => true,
'moderate_comments' => true,
'unfiltered_html' => true,
'upload_files' => true,
'edit_shop_orders' => true,
'edit_product' => true,
'read_product' => true,
'delete_product' => true,
'edit_products' => true,
'publish_products' => true,
'read_private_products' => true,
'delete_products' => true,
'delete_private_products' => true,
'delete_published_products' => true,
'edit_private_products' => true,
'edit_published_products' => true,
'manage_product_terms' => true,
'delete_product_terms' => true,
'assign_product_terms' => true,
'dokandar' => true,
]
);
But it doesn’t work for me. What is the way to give the vendor access to the custom user roles I want???
]]>We are looking to use your plugin for our website but will need custom user roles.
How do we create these roles?
Thanks,
Ryan
We have two custom user roles (SEO Editor and Revisor) in our multi-user WordPress, but user names with one of these roles are not showing in the User dropdown for the Content Activity widget. Would be awesome if this could be fixed Great plugin, thanks for all your work!
]]>