summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorrafacamargo123 <rafacamargo123@gmail.com>2019-01-08 00:31:42 -0200
committerFrédéric Guillot <fred@kanboard.net>2019-01-08 14:45:10 -0800
commit0deaeb58e60097b7f0882a05481253ff99a5a65a (patch)
tree2976e7883e43e57d454c2d239f3f033191291c57 /app
parentfdcda3f10d5248df000e78f952812ddf111877a5 (diff)
Fix permission check to show project options
Fixes #4105
Diffstat (limited to 'app')
-rw-r--r--app/Template/project_header/dropdown.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/project_header/dropdown.php b/app/Template/project_header/dropdown.php
index 9f13b20f..ee6fd485 100644
--- a/app/Template/project_header/dropdown.php
+++ b/app/Template/project_header/dropdown.php
@@ -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>