For Group and Project Members API - add ability to filter for direct members
In the Group and Project Members API, it is possible to list all members of a group or project and the information returned includes inherited members: https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project-including-inherited-members
We need to add an option where the user can request to see direct members only. This is already exposed for the UI using with_inherited_permissions=exclude
.
Edited by Rachel Nienaber