UserController: Fix permission check for editing users
Eh...?
This commit is contained in:
parent
ebe144c16a
commit
e3f13c8a44
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue