Fixed bug: OTRS import - User queue/group permissions are not transfered.

This commit is contained in:
Thorsten Eckel 2018-01-23 10:09:20 +01:00
parent bef740612a
commit 225cf81ce2

View file

@ -96,6 +96,7 @@ module Import
queues.each do |queue| queues.each do |queue|
permissions = user['GroupIDs'][ queue['GroupID'] ] permissions = user['GroupIDs'][ queue['GroupID'] ]
permissions ||= user['GroupIDs'][ queue['GroupID'].to_s ]
next if !permissions next if !permissions
next if !permissions.include?('rw') next if !permissions.include?('rw')