Skip to content

users in the project #1422

Closed
Closed
@volodaiy

Description

@volodaiy

Description of the problem, including code/CLI snippet

Cannot get a list of all members from the project (inherited users from the group are not transferred)

_projects = list(gl.projects.list(all=True))

for project in projects:
print(project.id)
print(project.members.list(all=True))_

Expected Behavior

Returns all members of the project (request: /api/v4/projects/project_id/members/all?)

Actual Behavior

Returns members added directly to the project (no group)

Specifications

  • python-gitlab version: 2.6.0
  • API version you are using (v3/v4): v4
  • Gitlab server version (or gitlab.com): 13.6.1-ee

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions