Filter Group members by membership: don't show the same user with different permissions
Description
A customer has asked us to change the UI around group memberships as it caused some confusion around permissions.
Example setup:
parentgroup/subgroup1-
example_userisguestinparentgroup -
example_userisdeveloperinsubgroup1due todirectmembership
When accessing the members list in parentgroup/subgroup1, the example_user will be correctly displayed as a developer. When applying the filter membership=direct, it will also show developer. However, when filtering with membership=inherited, the user will be displayed with role guest, which can be misleading as this is not actually the "final" role which gets applied for this user.
📹 Walk thru video
Proposal
- Do not show the same user with different permissions when applying different filters. When the role is inherited and does not actually get applied, make the customer aware of this.
Edited by Daniel Mora