Controller Permission

This commit is contained in:
Kilian Hofmann 2021-08-14 21:44:41 +02:00
parent fdf7e89afe
commit 9b153dacd8
3 changed files with 9 additions and 3 deletions

View File

@ -8,6 +8,8 @@ class GraphqlKey extends Controller
public $listConfig = 'config_list.yaml'; public $listConfig = 'config_list.yaml';
public $requiredPermissions = ['germanairlinesva.graphql.master'];
public function __construct() public function __construct()
{ {
parent::__construct(); parent::__construct();

View File

@ -9,6 +9,8 @@ class Playground extends Controller
parent::__construct(); parent::__construct();
} }
public $requiredPermissions = ['germanairlinesva.graphql.master'];
public function index() public function index()
{ {
$this->pageTitle = 'germanairlinesva.graphql::lang.menu.playground'; $this->pageTitle = 'germanairlinesva.graphql::lang.menu.playground';

View File

@ -2,9 +2,11 @@ columns:
id: id:
label: id label: id
type: number type: number
member_id: member:
label: member_id label: member
type: number type: text
relation: member
valueFrom: name
valid_from: valid_from:
label: valid_from label: valid_from
type: datetime type: datetime