Skip to content

Commit d9c75c7

Browse files
HP-2335 added role:manager to role:staff-manager
1 parent 73af20a commit d9c75c7

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/files/items.php

+1
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,7 @@
896896
'type' => 1,
897897
'children' => [
898898
'role:bill.staff-manager',
899+
'role:manager',
899900
'see-no-mans',
900901
],
901902
],

src/files/source/tree.php

+1
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@
391391
],
392392
'role:staff-manager' => [
393393
'role:bill.staff-manager',
394+
'role:manager',
394395
'see-no-mans',
395396
],
396397
'role:accounter' => [

tests/unit/CheckAccessTrait.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function testAccessSubclients()
8686
}
8787
$this->assertEqualsCanonicalizing($result, [
8888
'role:almighty', 'access-subclients',
89-
'role:support', 'role:admin', 'role:accounter', 'role:manager',
89+
'role:support', 'role:admin', 'role:accounter', 'role:manager', 'role:staff-manager',
9090
'role:reseller', 'role:owner', 'role:junior-manager', 'role:staff-admin', 'role:client',
9191
]);
9292
}

0 commit comments

Comments
 (0)