Fix tests
This commit is contained in:
@@ -38,7 +38,6 @@ function wiaas_db_update_create_default_roles() {
|
||||
array(
|
||||
'read',
|
||||
'view_admin_dashboard',
|
||||
'wiaas_manage_cl_products'
|
||||
)
|
||||
);
|
||||
|
||||
@@ -137,4 +136,9 @@ function wiaas_db_import_aam_role_settings() {
|
||||
'gravityforms-new-form' => '1',
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user