[Bug]: UserRateThrottle to stringent for profile updates #39733
Labels
3. to review
Waiting for reviews
27-feedback
bug
feature: profile
PRs or issues related to the Profile feature (e.g. Profile page, API, etc.)
security
Bug description
Our users are actively creating and updating their profiles. The @UserRateThrottle(limit=50, period=600) in
apps/provisioning_api/lib/Controller/UsersController.php for function editUser appears to be to stringent while editing "about".
The about field is saved "continously" as you are creating the content and if creating a new profile you can quite easily surpass 50 calls in 10 minutes. This lead to our users receiving error message "Unable to update about. There were too many requests from your network ..." and then they can no longer work on their profile until the period has expired.
Would suggest increasing the default limit or making this a configurable parameter.
Steps to reproduce
Expected behavior
Would expect that you could fully create your profile including the about section, which you might spend some time on, without receiving error messages and getting throttled.
Installation method
Community Docker image
Nextcloud Server version
27
Operating system
None
PHP engine version
None
Web server
None
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: