UserController: Fix permission check for editing users

Eh...?
This commit is contained in:
Johannes Meyer 2015-06-25 10:13:15 +02:00
parent ebe144c16a
commit e3f13c8a44
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ use Icinga\Data\Reducible;
use Icinga\Data\Selectable;
$editLink = null;
if (true || $this->hasPermission('config/authentication/users/edit') && $backend instanceof Updatable) {
if ($this->hasPermission('config/authentication/users/edit') && $backend instanceof Updatable) {
$editLink = $this->qlink(
null,
'user/edit',