c39a2e2 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 groupa,groupb,groupc
    'groupc' should be a child of 'groupb' so that you have groupa->groupb->groupc
    
    user is direct member of 'groupa' and as a result member of 'groupb'
    and 'groupc'. Now when one adds a direct membership to 'groupb' nothing will
    change.
    
    If one removes the direct membership to 'groupb' again,
    nothing should change as well
    
    Pagure Link: https://pagure.io/SSSD/sssd/issue/3636
    
    Signed-off-by: Sumedh Sidhaye <ssidhaye@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
    Reviewed-By: Mohammad Rizwan Yusuf <myusuf@redhat.com>
    Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>