edit field priority only with right basis/prestudent

This commit is contained in:
ma0068
2024-02-12 09:18:33 +01:00
parent 898f40e8a5
commit a21a5ce044
3 changed files with 12 additions and 3 deletions
@@ -21,7 +21,9 @@ class Studentenverwaltung extends FHC_Controller
$this->load->view('Studentenverwaltung', [
'permissions' => [
'student/bpk' => $this->permissionlib->isBerechtigt('student/bpk'),
'student/alias' => $this->permissionlib->isBerechtigt('student/alias')
'student/alias' => $this->permissionlib->isBerechtigt('student/alias'),
'basis/prestudent' => $this->permissionlib->isBerechtigt('basis/prestudent'),
],
'variables' => [
'semester_aktuell' => $this->variablelib->getVar('semester_aktuell')