Hide Noten Tab from non-Students

This commit is contained in:
cgfhtw
2024-11-25 16:23:43 +01:00
parent 9c32e6f968
commit 5f61ae43f9
3 changed files with 34 additions and 27 deletions
@@ -93,7 +93,8 @@ class Config extends FHCAPI_Controller
];
$result['grades'] = [
'title' => $this->p->t('stv', 'tab_grades'),
'component' => './Stv/Studentenverwaltung/Details/Noten.js'
'component' => './Stv/Studentenverwaltung/Details/Noten.js',
'showOnlyWithUid' => true
];