From 225cf81ce2b452e019fd5e063445906a5ff2a2b0 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 23 Jan 2018 10:09:20 +0100 Subject: [PATCH] Fixed bug: OTRS import - User queue/group permissions are not transfered. --- lib/import/otrs/user.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/import/otrs/user.rb b/lib/import/otrs/user.rb index bf0258bcd..be086603c 100644 --- a/lib/import/otrs/user.rb +++ b/lib/import/otrs/user.rb @@ -96,6 +96,7 @@ module Import queues.each do |queue| permissions = user['GroupIDs'][ queue['GroupID'] ] + permissions ||= user['GroupIDs'][ queue['GroupID'].to_s ] next if !permissions next if !permissions.include?('rw')