diff --git a/Kernel/System/Auth/Sync/LDAP.pm b/Kernel/System/Auth/Sync/LDAP.pm index cfe57914e7..992be5f402 100644 --- a/Kernel/System/Auth/Sync/LDAP.pm +++ b/Kernel/System/Auth/Sync/LDAP.pm @@ -776,10 +776,8 @@ sub Sync { } } } - } - # compare role permissions from ldap with current user role permissions and update if necessary - if (%RolePermissionsFromLDAP) { + # compare role permissions from ldap with current user role permissions and update if necessary # get current user roles my %UserRoles = $GroupObject->PermissionUserRoleGet(