Skip to content
Snippets Groups Projects
Commit df37c333 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #17436 TIME 0:05 update canManage condition

parent 4b43e0ac
No related branches found
No related tags found
No related merge requests found
...@@ -446,7 +446,7 @@ export class GroupComponent implements OnInit { ...@@ -446,7 +446,7 @@ export class GroupComponent implements OnInit {
} }
canManage(privilege: any) { canManage(privilege: any) {
return privilege.id === 'manage_users' && privilege.checked && this.group.users.find((user: any) => user.id === this.authService.user.id) !== undefined; return privilege.id === 'manage_users' && privilege.checked;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment