bootstrap test for isGranted

This commit is contained in:
2016-02-01 23:20:40 +01:00
parent a4fbf27519
commit bcdee0be94
3 changed files with 58 additions and 8 deletions

View File

@@ -45,10 +45,10 @@ trait PrepareUserTrait
* ```
* array(
* array( 'center' => $centerA, 'permissionsGroup' => array(
* [ 'role' => 'CHILL_REPORT_SEE', 'scope' => $scopeA]
* 'role' => 'CHILL_REPORT_SEE', 'scope' => $scopeA
* ),
* array( 'center' => $centerB, 'permissionsGroup' => array(
* [ 'role' => 'CHILL_ACTIVITY_UPDATE', 'scope' => $scopeB]
* 'role' => 'CHILL_ACTIVITY_UPDATE', 'scope' => $scopeB
* )
* )
* ```