fix head fa access issue
This commit is contained in:
@@ -46,8 +46,10 @@ class GrantRequestedRolePageAccess extends Migration
|
||||
);
|
||||
|
||||
$this->grantNavItemsToRoles(
|
||||
['head of fa', 'head_of_fa', 'head of department (finance)', 'head of department finance'],
|
||||
$financialNavItems
|
||||
['head fa', 'head of fa', 'head_of_fa', 'head of department (finance)', 'head of department finance'],
|
||||
array_merge($financialNavItems, [
|
||||
['url' => 'admin/enrollment/new-students'],
|
||||
])
|
||||
);
|
||||
|
||||
$this->grantNavItemsToRoles(
|
||||
@@ -80,8 +82,9 @@ class GrantRequestedRolePageAccess extends Migration
|
||||
);
|
||||
|
||||
$this->grantPermissionsToRoles(
|
||||
['head of fa', 'head_of_fa', 'head of department (finance)', 'head of department finance'],
|
||||
['head fa', 'head of fa', 'head_of_fa', 'head of department (finance)', 'head of department finance'],
|
||||
[
|
||||
'view_new_students' => ['read' => true],
|
||||
'view_invoice' => ['read' => true],
|
||||
'view_payment' => ['read' => true],
|
||||
'view_financial_reports' => ['create' => true, 'read' => true, 'update' => true],
|
||||
|
||||
Reference in New Issue
Block a user