public function AppService::access in Forena Reports 8
Access test
Parameters
$right:
Return value
mixed
1 method overrides AppService::access()
- TestingAppService::access in tests/
src/ Unit/ Mock/ TestingAppService.php
File
- src/
AppService.php, line 226
Class
Namespace
Drupal\forenaCode
public function access($right) {
return \Drupal::currentUser()
->hasPermission($right);
}