From 91cb6c132cd1f5e5b328e48865eecd597e566c7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emanuel=20Sch=C3=BCtze?= Date: Fri, 10 May 2019 07:17:09 +0200 Subject: [PATCH] Fix access for user meta info dialog in user list view. --- .../app/site/users/components/user-list/user-list.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/site/users/components/user-list/user-list.component.ts b/client/src/app/site/users/components/user-list/user-list.component.ts index 3f14fde3b..eeb8e6266 100644 --- a/client/src/app/site/users/components/user-list/user-list.component.ts +++ b/client/src/app/site/users/components/user-list/user-list.component.ts @@ -202,7 +202,7 @@ export class UserListComponent extends ListViewBaseComponent imp * @param user is an instance of ViewUser. This is the given user, who will be modified. */ public openEditInfo(user: ViewUser, ev: MouseEvent): void { - if (this.isMultiSelect) { + if (this.isMultiSelect || !this.operator.hasPerms('users.can_manage')) { return; } ev.stopPropagation();