diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-08-14 15:43:08 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-08-14 15:43:08 -0400 |
commit | b2cce5a3a1a0be68102e614b42d2ee6a030bd523 (patch) | |
tree | 0014f4362cee39f98727276bc79aa96adc213fee /app/Template/project/sidebar.php | |
parent | 80fb3bc9aa842ef75f1f8282db63ca43282aacd7 (diff) |
Add new role Project Administrator
Diffstat (limited to 'app/Template/project/sidebar.php')
-rw-r--r-- | app/Template/project/sidebar.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/project/sidebar.php b/app/Template/project/sidebar.php index 7ee39f53..d6f7db97 100644 --- a/app/Template/project/sidebar.php +++ b/app/Template/project/sidebar.php @@ -5,7 +5,7 @@ <?= $this->url->link(t('Summary'), 'project', 'show', array('project_id' => $project['id'])) ?> </li> - <?php if ($this->user->isManager($project['id'])): ?> + <?php if ($this->user->isProjectManagementAllowed($project['id'])): ?> <li> <?= $this->url->link(t('Public access'), 'project', 'share', array('project_id' => $project['id'])) ?> </li> @@ -42,7 +42,7 @@ <?= $this->url->link(t('Enable'), 'project', 'enable', array('project_id' => $project['id']), true) ?> <?php endif ?> </li> - <?php if ($this->user->isAdmin()): ?> + <?php if ($this->user->isProjectAdministrationAllowed($project['id'])): ?> <li> <?= $this->url->link(t('Remove'), 'project', 'remove', array('project_id' => $project['id'])) ?> </li> |