Merge pull request #4684 from emanuelschuetze/fixUserList
Fix access for user meta info dialog in user list view.
This commit is contained in:
commit
6f7f25727c
@ -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