add view admin dashboard to cl

This commit is contained in:
Almira Krdzic
2018-10-15 17:22:58 +02:00
parent d7103df6dc
commit 2d7b6c55e6

View File

@@ -141,5 +141,5 @@ function wiaas_db_import_aam_role_settings() {
function wiaas_db_update_update_commercial_lead_capabilities() {
// add commercial lead specific roles
wp_roles()->add_cap( 'commercial_lead', 'manage_wiaas_cl_products' ); // cl products screen
wp_roles()->add_cap( 'commercial_lead', 'manage_wiaas_cl_products' ); // cl products screen
wp_roles()->add_cap( 'commercial_lead', 'view_admin_dashboard' ); // cl products screen
}