-
-
Notifications
You must be signed in to change notification settings - Fork 44
Rate Limit on Mentor Requests #176
Copy link
Copy link
Open
Labels
feedback: questionA question needs an answer - can be used with other feedback issue labelsA question needs an answer - can be used with other feedback issue labelspriority: highThis is an issue that should be fixed firstThis is an issue that should be fixed firstproject: rewriteThis issue applies to the rewrite of PybotThis issue applies to the rewrite of Pybotstatus: awaiting acceptanceIssue has not been accepted - it may need documentation, discussion, or a decision - the ice boxIssue has not been accepted - it may need documentation, discussion, or a decision - the ice boxtype: code changeIssue requires changes to the code baseIssue requires changes to the code basetype: documentationIssue requires a change to the current documentation of the codebase or productIssue requires a change to the current documentation of the codebase or producttype: enhancementIssue enhances a feature by adding more functionalityIssue enhances a feature by adding more functionality
Metadata
Metadata
Assignees
Labels
feedback: questionA question needs an answer - can be used with other feedback issue labelsA question needs an answer - can be used with other feedback issue labelspriority: highThis is an issue that should be fixed firstThis is an issue that should be fixed firstproject: rewriteThis issue applies to the rewrite of PybotThis issue applies to the rewrite of Pybotstatus: awaiting acceptanceIssue has not been accepted - it may need documentation, discussion, or a decision - the ice boxIssue has not been accepted - it may need documentation, discussion, or a decision - the ice boxtype: code changeIssue requires changes to the code baseIssue requires changes to the code basetype: documentationIssue requires a change to the current documentation of the codebase or productIssue requires a change to the current documentation of the codebase or producttype: enhancementIssue enhances a feature by adding more functionalityIssue enhances a feature by adding more functionality
There exists a possibility that someone could put in a ridiculous amount of mentor requests, pinging the same mentors over and over again. Mentors would possibly then be encouraged to just mute the #mentors-internal channel, which would stop legitimate mentor requests from being answered in a timely fashion.
A rate limit should exist so that a given user can only put in a limited amount of mentor requests in a given time period. 3x per month was suggested, so let's start with that and see how it goes.
Acceptance criteria:
When attempting to put in too many mentor requests in a month, the user should see a message from slackbot informing them that they've put in as many mentor requests as allowed until the time when they'll be allowed to put it in again. For example:
The above message would be if the first of 3 mentor requests was put in on May 15, 2020.