Skip to content

Commit a74cb98

Browse files
authored
Merge pull request #1610 from RotherOSS/issue-#1608-empty_RolePermissionsFromLDAP
Issue #1608: handling of %RolePermissionsFromLDAP
2 parents c2618e3 + 7d533b0 commit a74cb98

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Kernel/System/Auth/Sync/LDAP.pm

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -776,10 +776,8 @@ sub Sync {
776776
}
777777
}
778778
}
779-
}
780779

781-
# compare role permissions from ldap with current user role permissions and update if necessary
782-
if (%RolePermissionsFromLDAP) {
780+
# compare role permissions from ldap with current user role permissions and update if necessary
783781

784782
# get current user roles
785783
my %UserRoles = $GroupObject->PermissionUserRoleGet(

0 commit comments

Comments
 (0)