4b55174 Raise DuplicatedEnrty error when user exists in delete_container

Authored and Committed by mbasti 7 years ago
    Raise DuplicatedEnrty error when user exists in delete_container
    
    We do not have right to write to users delete_container. In case that
    user already exists in that container and we tried to add entry, we
    receive ACIError. This must be checked and DuplicationEntry error must
    be raised before.
    
    Original ticket:
    https://fedorahosted.org/freeipa/ticket/6199
    
    Backported to ipa-4-3:
    https://fedorahosted.org/freeipa/ticket/6316
    
    Reviewed-By: Martin Basti <mbasti@redhat.com>
    
        
file modified
+13 -2