Fix access for user meta info dialog in user list view.
This commit is contained in:
parent
cef2e45b34
commit
91cb6c132c
@ -202,7 +202,7 @@ export class UserListComponent extends ListViewBaseComponent<ViewUser, User> imp
|
|||||||
* @param user is an instance of ViewUser. This is the given user, who will be modified.
|
* @param user is an instance of ViewUser. This is the given user, who will be modified.
|
||||||
*/
|
*/
|
||||||
public openEditInfo(user: ViewUser, ev: MouseEvent): void {
|
public openEditInfo(user: ViewUser, ev: MouseEvent): void {
|
||||||
if (this.isMultiSelect) {
|
if (this.isMultiSelect || !this.operator.hasPerms('users.can_manage')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
|
Loading…
Reference in New Issue
Block a user