5f5174b Test for removing a subgroup

1 file Authored by Sumedh Sidhaye 3 years ago, Committed by frenaud 3 years ago,
    Test for removing a subgroup
    
    Problem description:
    Removing an IPA sub-group should NOT remove the members
    from indirect parent that also belong to other subgroups
    
    The test:
    A user and three groups are created a,b,c
    'c' should be a child of 'b' so that you have a->b->c
    
    user is direct member of 'a' and as a result member of 'b'
    and 'c'. Now when one adds a direct membership to 'b' nothing will
    change.
    
    If one removes the direct membership to 'b' again,
    nothing should change as well
    
    Pagure Link: https://pagure.io/SSSD/sssd/issue/3636
    
    Manual backport of #4544
    
    Signed-off-by: Sumedh Sidhaye <ssidhaye@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Mohammad Rizwan Yusuf <myusuf@redhat.com>
    Reviewed-By: Sergey Orlov <sorlov@redhat.com>