Enforce the rate limits for Group file-based import via API
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem
The Max Group Import requests per minute per user
setting is not enforced when the user uses the API to issue requests. The user is correctly throttled when making requests through the UI, but the API calls are not limited.
Background
When the Group Import UI was created, we implemented the rate limit in the UI, but we missed the implementation for the API
Proposed solution
Enforce the same group request rate limits through the API, that are already enforced through the UI.
Edited by 🤖 GitLab Bot 🤖