9ae7442 Remove virtual attributes before rolling back a permission

1 file Authored by rcritten 3 years ago, Committed by frenaud 3 years ago,
    Remove virtual attributes before rolling back a permission
    
    On a failed permission update if the generated ACI is
    invalid then the updated permission is rolled back.
    
    Add the virtual relationship attributes to list of attributes
    to be ignored when rolling back the entry.
    
    This relies on the current order in the LDAPObject
    relationships field where member and memberof are the first
    two values.
    
    https://pagure.io/freeipa/issue/8646
    
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>