From 3c4b4b6a5886607e23fbbbddd06c1271a75a09d4 Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Tue, 8 Oct 2024 16:38:16 +0200 Subject: [PATCH] recht lehre/lehrveranstaltung auch am api endpunkt --- .../api/frontend/v1/education/Lehrveranstaltung.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/controllers/api/frontend/v1/education/Lehrveranstaltung.php b/application/controllers/api/frontend/v1/education/Lehrveranstaltung.php index 20e36f461..636c8e3f3 100644 --- a/application/controllers/api/frontend/v1/education/Lehrveranstaltung.php +++ b/application/controllers/api/frontend/v1/education/Lehrveranstaltung.php @@ -22,7 +22,9 @@ class Lehrveranstaltung extends FHCAPI_Controller public function __construct() { parent::__construct(array( - 'getTemplateLvTree' => self::PERM_LOGGED + 'getTemplateLvTree' => array( + 'lehre/lehrveranstaltung:rw' + ) )); // Load model LehrveranstaltungModel