Skip to content

Commit

Permalink
Merge pull request #217 from compucorp/PCHR-1625-update-default-permi…
Browse files Browse the repository at this point in the history
…ssions

PCHR-1652: Set default roles for (access manager approval scree) permission
  • Loading branch information
omarabuhussein authored Oct 5, 2016
2 parents 0b1fad6 + 582071d commit 7a30f5e
Showing 1 changed file with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
);

Expand Down Expand Up @@ -1605,19 +1609,19 @@ 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',
),
'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',
Expand Down

0 comments on commit 7a30f5e

Please sign in to comment.