allow customer to add comments

This commit is contained in:
GotPPay
2018-08-31 17:35:36 +02:00
parent df816f0dd7
commit bc15706f07

View File

@@ -82,7 +82,8 @@ function wiaas_db_update_setup_customer_capabilities() {
$customer_role = get_role('customer');
$customer_role->add_cap('read_private_shop_orders');
$customer_role->add_cap('read_shop_order');
$customer_role->add_cap('read_shop_order');
$customer_role->add_cap('publish_shop_order');
}
function wiaas_db_update_add_customer_read_permission() {