mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
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;
|
use Icinga\Data\Selectable;
|
||||||
|
|
||||||
$editLink = null;
|
$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(
|
$editLink = $this->qlink(
|
||||||
null,
|
null,
|
||||||
'user/edit',
|
'user/edit',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user