Skip to content

Add truncation indicator for protected environment users list

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

This workaround would improve user experience while a more comprehensive solution (Improve protected environment users list pagina... (#524155)) is being developed.

When viewing a group's protected environment, only 20 users are displayed even when the group has more members. This is due to the default pagination limit in the getProjectMembers API call. Currently, there's no indication to users that the list is truncated or way to see additional users.

Current behavior

  • Only 20 users are displayed in the protected environment users list
  • No indication that the list is truncated
  • Users have no way to view the complete list of users with access

Proposal

  1. Keep the current limit of 20 users
  2. Add a visual indicator showing that the list is truncated (e.g., "Showing 20 of 45 users")
  3. Add a note explaining that users can get the full list through the API

User impact

This affects customers with large groups who need to manage protected environment access for many users. The workaround will at least inform them that the list is incomplete and provide guidance on how to get the complete information.

Edited by 🤖 GitLab Bot 🤖