From 582071dc94a72ddde5d63d87a20a4f9eeec619cb Mon Sep 17 00:00:00 2001 From: omar abu hussein Date: Wed, 5 Oct 2016 14:53:02 +0100 Subject: [PATCH] PCHR-1652: Set default roles for (access manager approval scree) permission --- ...lt_permissions.features.user_permission.inc | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/civihr_employee_portal/features/civihr_default_permissions/civihr_default_permissions.features.user_permission.inc b/civihr_employee_portal/features/civihr_default_permissions/civihr_default_permissions.features.user_permission.inc index a3474e23..e866b592 100755 --- a/civihr_employee_portal/features/civihr_default_permissions/civihr_default_permissions.features.user_permission.inc +++ b/civihr_employee_portal/features/civihr_default_permissions/civihr_default_permissions.features.user_permission.inc @@ -243,7 +243,11 @@ function civihr_default_permissions_user_default_permissions() { // Exported permission: 'access manager approval screen'. $permissions['access manager approval screen'] = array( 'name' => 'access manager approval screen', - 'roles' => array(), + 'roles' => array( + 'administrator' => 'administrator', + 'civihr_admin' => 'civihr_admin', + 'civihr_manager' => 'civihr_manager', + ), 'module' => 'civihr_employee_portal', ); @@ -1605,9 +1609,9 @@ function civihr_default_permissions_user_default_permissions() { 'module' => 'features', ); - // Exported permission: 'manage hrreports settings'. - $permissions['manage hrreports settings'] = array( - 'name' => 'manage hrreports settings', + // Exported permission: 'manage hrreports configuration'. + $permissions['manage hrreports configuration'] = array( + 'name' => 'manage hrreports configuration', 'roles' => array( 'administrator' => 'administrator', 'civihr_admin' => 'civihr_admin', @@ -1615,9 +1619,9 @@ function civihr_default_permissions_user_default_permissions() { 'module' => 'civihr_employee_portal', ); - // Exported permission: 'manage hrreports configuration'. - $permissions['manage hrreports configuration'] = array( - 'name' => 'manage hrreports configuration', + // Exported permission: 'manage hrreports settings'. + $permissions['manage hrreports settings'] = array( + 'name' => 'manage hrreports settings', 'roles' => array( 'administrator' => 'administrator', 'civihr_admin' => 'civihr_admin',