Ratelimit by user or in general

This is a good starting point.

How can I change this rateLimit.js to allow - for a specific user - to increase the max value?

In my case this is the first rateLimit where the service is blocked, because the write operation is done with an authenticated user.