implemented permission for viewing other users' lv plans

This commit is contained in:
adisposkofh
2026-04-13 15:44:09 +02:00
parent f1c3c8296f
commit 7daaf79fcc
12 changed files with 263 additions and 188 deletions
+3
View File
@@ -79,6 +79,9 @@ class Profil extends Auth_Controller
$viewData = array (
'uid' => $uid,
'profil_data'=>$profil_data,
'permissions' => [
'basis/other_lv_plan' => $this->permissionlib->isBerechtigt(('basis/other_lv_plan')),
]
);
if($uid == getAuthUID()){
$viewData['editable'] = true;