Browse Source

Fixed bug: OTRS import - User queue/group permissions are not transfered depending on export data type.

Thorsten Eckel 5 years ago
parent
commit
cccec58c2e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/import/otrs/user.rb

+ 1 - 0
lib/import/otrs/user.rb

@@ -153,6 +153,7 @@ module Import
         return result if role_object['GroupIDs'].blank?
 
         permissions = role_object['GroupIDs'][ group['ID'] ]
+        permissions ||= role_object['GroupIDs'][ group['ID'].to_s ]
 
         return result if !permissions