From 69d233eaa079e54dd9653d7b777c9397d138e000 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 1 Dec 2017 14:36:03 -0800 Subject: Improve permission checks on custom filters page --- app/Template/custom_filter/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Template') diff --git a/app/Template/custom_filter/index.php b/app/Template/custom_filter/index.php index 9180deee..a1dc223d 100644 --- a/app/Template/custom_filter/index.php +++ b/app/Template/custom_filter/index.php @@ -18,9 +18,9 @@ - user->getId() || $this->user->hasProjectAccess('CustomFilterController', 'edit', $project['id'])): ?> + user->getId() || $this->user->isAdmin() || $this->projectRole->getProjectUserRole($project['id']) == \Kanboard\Core\Security\Role::PROJECT_MANAGER) && $this->user->hasProjectAccess('CustomFilterController', 'edit', $project['id'])): ?>