From e9fedf3e5cd63aea4da7a71f6647ee427c62fa49 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 5 Dec 2015 20:31:27 -0500 Subject: Rewrite of the authentication and authorization system --- app/Template/task/layout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Template/task/layout.php') diff --git a/app/Template/task/layout.php b/app/Template/task/layout.php index 6b6e827a..0ceb9706 100644 --- a/app/Template/task/layout.php +++ b/app/Template/task/layout.php @@ -9,7 +9,7 @@ url->link(t('Back to the calendar'), 'calendar', 'show', array('project_id' => $task['project_id'])) ?> - user->isProjectManagementAllowed($task['project_id'])): ?> + user->hasProjectAccess('project', 'edit', $task['project_id'])): ?>
  • url->link(t('Project settings'), 'project', 'show', array('project_id' => $task['project_id'])) ?> -- cgit v1.2.3