summaryrefslogtreecommitdiff
path: root/app/Template/project/sidebar.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2015-01-02 21:11:19 -0500
committerFrédéric Guillot <fred@kanboard.net>2015-01-02 21:11:19 -0500
commit45c95d74fc2115fe4cc7214553c0927d3ce9df8d (patch)
tree5135be8a33752cce4f1b457a5c379e02aaa65038 /app/Template/project/sidebar.php
parent3076ba22dd8346725b4e1ad757532c00df5b18d9 (diff)
Various fixes and improvements
Diffstat (limited to 'app/Template/project/sidebar.php')
-rw-r--r--app/Template/project/sidebar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/project/sidebar.php b/app/Template/project/sidebar.php
index 991a1c73..f28f6b0d 100644
--- a/app/Template/project/sidebar.php
+++ b/app/Template/project/sidebar.php
@@ -24,7 +24,7 @@
<li>
<?= $this->a(t('Swimlanes'), 'swimlane', 'index', array('project_id' => $project['id'])) ?>
</li>
- <?php if ($project['is_private'] == 0): ?>
+ <?php if ($this->userSession->isAdmin() || $project['is_private'] == 0): ?>
<li>
<?= $this->a(t('User management'), 'project', 'users', array('project_id' => $project['id'])) ?>
</li>