a76c92c idviews: Check for the Default Trust View only if applying the view

Authored and Committed by tbabej 8 years ago
    idviews: Check for the Default Trust View only if applying the view
    
    Currently, the code wrongly validates the idview-unapply command. Move
    check for the forbidden application of the Default Trust View into
    the correct logical branch.
    
    https://fedorahosted.org/freeipa/ticket/4969
    
    Reviewed-By: Martin Basti <mbasti@redhat.com>
    
        
file modified
+8 -6