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/board/task_private.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'app/Template/board/task_private.php') diff --git a/app/Template/board/task_private.php b/app/Template/board/task_private.php index da993fdd..a5d05e49 100644 --- a/app/Template/board/task_private.php +++ b/app/Template/board/task_private.php @@ -1,6 +1,6 @@
board->isCollapsed($task['project_id'])): ?>
- render('board/task_menu', array('task' => $task)) ?> + user->hasProjectAccess('taskmodification', 'edit', $task['project_id'])): ?> + render('board/task_menu', array('task' => $task)) ?> + + + @@ -23,7 +27,11 @@
- render('board/task_menu', array('task' => $task)) ?> + user->hasProjectAccess('taskmodification', 'edit', $task['project_id'])): ?> + render('board/task_menu', array('task' => $task)) ?> + + + -- cgit v1.2.3