doc/development/spam_protection_and_captcha/_index.md
This guide provides an overview of how to add spam protection and CAPTCHA support to new areas of the GitLab application.
To add this support, you must implement the following areas as applicable:
You should also perform manual exploratory testing of the new feature. Refer to Exploratory testing for more information.
Multiple levels of spam flagging determine how spam is handled. These levels are referenced in
Spam::SpamConstants,
and used various places in the application, such as
Spam::SpamActionService#perform_spam_service_check.
The possible values include:
BLOCK_USERDISALLOWCONDITIONAL_ALLOWOVERRIDE_VIA_ALLOW_POSSIBLE_SPAMALLOWNOOP