You are here

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

AppService

Namespace

Drupal\forena

Code

public function access($right) {
  return \Drupal::currentUser()
    ->hasPermission($right);
}