first template for the hr view to accept or deny profil update requests

This commit is contained in:
Simon Gschnell
2024-01-03 14:38:40 +01:00
parent ddab42123b
commit d412c1d00e
7 changed files with 144 additions and 8 deletions
+1 -2
View File
@@ -17,7 +17,6 @@ class Profil extends Auth_Controller
{
parent::__construct([
'index' => ['student/anrechnung_beantragen:r', 'user:r'], // TODO(chris): permissions?
'View' => ['student/anrechnung_beantragen:r', 'user:r'],
'foto_sperre_function' => ['student/anrechnung_beantragen:r', 'user:r'],
'getView' => ['student/anrechnung_beantragen:r', 'user:r'],
'editProfil' => ['student/anrechnung_beantragen:r', 'user:r'],
@@ -35,7 +34,7 @@ class Profil extends Auth_Controller
$this->load->model('person/Kontakt_model', 'KontaktModel');
$this->load->model('person/Profil_change_model', 'ProfilChangeModel');
//? put the uid and pid inside the controller for further usage in views
//? put the uid and pid inside the controller to reuse in controller
$this->uid = getAuthUID();
$this->pid = getAuthPersonID();