Enable get_resource_access_paths to handle direct-members-only exports
This MR adds the include_inherited=True
to get_resource_access_paths
and get_members_map
so direct-members-only exports can be generated by passing include_inherited=False
.
Doesn't alter the behavior of the methods for consumers not using the argument; for example the Authomize GitLab connector.
This is useful for https://gitlab.com/gitlab-com/gl-security/engineering-and-research/automation-team/gitlab-export/-/issues/5 so both direct-members-only and direct-members-plus-inherited-members exports can use the same functionality and such issues are avoided.