diff --git a/includes/pages/admin_user.php b/includes/pages/admin_user.php index 3fc4c694..758ed8d9 100644 --- a/includes/pages/admin_user.php +++ b/includes/pages/admin_user.php @@ -141,7 +141,10 @@ function admin_user() $his_highest_group = $his_highest_group['group_id']; } - if ($user_id != $user->id && ($my_highest_group <= $his_highest_group || is_null($his_highest_group))) { + if ( + ($user_id != $user->id || auth()->can('admin_groups')) + && ($my_highest_group <= $his_highest_group || is_null($his_highest_group)) + ) { $html .= 'Hier kannst Du die Benutzergruppen des Engels festlegen: