From 0deaeb58e60097b7f0882a05481253ff99a5a65a Mon Sep 17 00:00:00 2001 From: rafacamargo123 Date: Tue, 8 Jan 2019 00:31:42 -0200 Subject: Fix permission check to show project options Fixes #4105 --- app/Template/project_header/dropdown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ - user->hasProjectAccess('ProjectEditController', 'show', $project['id'])): ?> + user->hasProjectAccess('ProjectViewController', 'show', $project['id'])): ?>
  • url->icon('cog', t('Configure this project'), 'ProjectViewController', 'show', array('project_id' => $project['id'])) ?>
  • -- cgit v1.2.3