Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab - User groups are not displaying in User overview #27995

Open
2 tasks done
vinaykv23 opened this issue Dec 5, 2024 · 2 comments
Open
2 tasks done

Gitlab - User groups are not displaying in User overview #27995

vinaykv23 opened this issue Dec 5, 2024 · 2 comments
Labels
bug Something isn't working help wanted Help/Contributions wanted from community members

Comments

@vinaykv23
Copy link

vinaykv23 commented Dec 5, 2024

📜 Description

In gitlab user belongs to different groups
Group1, Group2
the same is expected to display in User overview

image

👍 Expected behavior

Groups should be listed in user overview

👎 Actual Behavior with Screenshots

Groups are not displaying in user overview

image

👟 Reproduction steps

app-config.yaml

integrations:
  gitlab:
    - host: gitlab.corp.org.com
      apiBaseUrl: https://gitlab.corp.org.com/api/v4
      token: ${GITLAB_TOKEN}

catalog:
  providers:
    gitlab:
      app-platform:
        host: gitlab.corp.org.com
        orgEnabled: true
        group: org-platform
        allowInherited: true # Allow groups to be ingested even if there are no direct members.
        schedule: # Same options as in TaskScheduleDefinition. Optional for the Legacy Backend System.
          # supports cron, ISO duration, "human duration" as used in code
          frequency: { minutes: 20 }
          # supports ISO duration, "human duration" as used in code
          timeout: { minutes: 20 }
      backstage-poc:
        host: gitlab.corp.org.com
        orgEnabled: true
        group: backstage-poc 
        allowInherited: true 
        schedule: 
          frequency: { minutes: 20 }
          timeout: { minutes: 20 }

Got backstage application -> Settings menu -> General tab -> Backstage Identity ->User Entity -> click on user

image

📃 Provide the context for the Bug.

No response

🖥️ Your Environment

Backstage "version": "1.33.4"

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

None

@vinaykv23 vinaykv23 added the bug Something isn't working label Dec 5, 2024
@camilaibs camilaibs added the help wanted Help/Contributions wanted from community members label Dec 5, 2024
@mahendra1290
Copy link
Contributor

@camilaibs I want to help here but how can I reproduce the issue @vinaykv23 can you share the user entity details so I can test out locally?

@camilaibs
Copy link
Contributor

We suggest that @vinaykv23 double-check that catalog contains the user groups. You can go the catalog index page and filter by kind group. If the groups aren't listed in there, we are sure that there was a problem in digesting the groups from Gitlab provider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Help/Contributions wanted from community members
Projects
None yet
Development

No branches or pull requests

3 participants