jkaluza / odcs

Forked from odcs 6 years ago
Clone

8ee0ea9 Fix: avoid adding duplicate group

Authored and Committed by cqi 6 years ago
    Fix: avoid adding duplicate group
    
    When add a new user, part of groups may exist in database already. This
    fix is to avoid trying to add those existing groups. Instead, get
    existing groups and build the relationship between new user and those
    groups directly.
    
    Signed-off-by: Chenxiong Qi <cqi@redhat.com>
    
        
file modified
+7 -2
file modified
+25 -6