diff --git a/application/views/header.php b/application/views/header.php index 212d214..ebc86a6 100644 --- a/application/views/header.php +++ b/application/views/header.php @@ -51,7 +51,12 @@ project->getAll() as $project): + if ($this->access->isAdmin()) { + $theProjects = $this->project->getAll(); + } else { + $theProjects = $this->project->getAccessible(); + } + foreach ($theProjects as $project): ?>