infisical icon indicating copy to clipboard operation
infisical copied to clipboard

๐Ÿ› โ€” Fetch all Gitlab groups of user

Open ldidry opened this issue 1 year ago โ€ข 0 comments

Description ๐Ÿ“ฃ

The Gitlab integration only fetched the first page of userโ€™s groups. This PR makes it fetch all the userโ€™s groups.

Note: I choosed to fetch 10 groups per page as the project fetching code, which I just adapted, was using a pagination of 10 projects per page.

Type โœจ

  • [X] Bug fix
  • [ ] New feature
  • [ ] Breaking change
  • [ ] Documentation

Tests ๐Ÿ› ๏ธ

Steps to reproduce

  • have more than 20 groups (including subgroups) on your Gitlab account
  • create a Gitlab integration in Infisical
  • choose a group integration type
  • you donโ€™t see all your groups

Test

I recompiled Infisical with my patch and it works, I can now see all my groups.


ldidry avatar Sep 12 '24 14:09 ldidry