Deleting a member from a project / subgroup doesn't refresh member listing
Summary
When deleting a member from a project or subgroup having both an inherited membership and a local membership, the membership listing is not refreshed.
Via: https://gitlab.zendesk.com/agent/tickets/84707
Steps to reproduce
- Create a group and create a subgroup in it.
- Add a member to this group with any permission.
- Add the same member to subgroup with a different permission. This subgroup permission will now shadow permission inherited from the containing group.
- Now delete this member from the subgroup.
- The member is deleted and it appears they don't have any permission in this subgroup.
- Refresh the page to see that this member still has an inherited membership via the containing group.
(This also happens for project members)
What is the current bug behavior?
Membership listing is not refreshed on member deletion.
What is the expected correct behavior?
Membership listing should be refreshed so that users are not mislead about the exact membership of a subgroup or project.
Edited by Bob Van Landuyt