8000 Rate Limit on Mentor Requests · Issue #176 · OperationCode/operationcode-pybot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content 8000
Rate Limit on Mentor Requests #176
Open
@aaron-junot

Description

@aaron-junot

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:

Error: you have put in too many mentor requests. You will be allowed to submit another mentor request on June 15, 2020

The above message would be if the first of 3 mentor requests was put in on May 15, 2020.

Metadata

Metadata

Assignees

Labels

feedback: questionA question needs an answer - can be used with other feedback issue labelspriority: highThis is an issue that should be fixed firstproject: rewriteThis issue applies to the rewrite of Pybotstatus: awaiting acceptanceIssue has not been accepted - it may need documentation, discussion, or a decision - the ice boxtype: code changeIssue requires changes to the code basetype: documentationIssue requires a change to the current documentation of the codebase or producttype: enhancementIssue enhances a feature by adding more functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0