Fixed bug: OTRS import - User queue/group permissions are not transfered.
This commit is contained in:
parent
bef740612a
commit
225cf81ce2
1 changed files with 1 additions and 0 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue