Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/spam/spam_constants.rb')
-rw-r--r--app/services/spam/spam_constants.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/services/spam/spam_constants.rb b/app/services/spam/spam_constants.rb
index 2a16cfae78b..b654fbbbcc8 100644
--- a/app/services/spam/spam_constants.rb
+++ b/app/services/spam/spam_constants.rb
@@ -6,6 +6,7 @@ module Spam
DISALLOW = "disallow"
ALLOW = "allow"
BLOCK_USER = "block"
+ NOOP = "noop"
SUPPORTED_VERDICTS = {
BLOCK_USER => {
@@ -19,6 +20,9 @@ module Spam
},
ALLOW => {
priority: 4
+ },
+ NOOP => {
+ priority: 5
}
}.freeze
end