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 $requiredPermissions = ['germanairlinesva.graphql.master'];
public function __construct()
{
parent::__construct();

View File

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

View File

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