Fix permission check to show project options

Fixes #4105
This commit is contained in:
rafacamargo123 2019-01-08 00:31:42 -02:00 committed by Frédéric Guillot
parent fdcda3f10d
commit 0deaeb58e6
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@
</li>
<?php endif ?>
<?php if ($this->user->hasProjectAccess('ProjectEditController', 'show', $project['id'])): ?>
<?php if ($this->user->hasProjectAccess('ProjectViewController', 'show', $project['id'])): ?>
<li>
<?= $this->url->icon('cog', t('Configure this project'), 'ProjectViewController', 'show', array('project_id' => $project['id'])) ?>
</li>