Merge pull request #2009 from betagouv/fix_dubious_procedure_job

DubiousProcedure: update forbidden words
This commit is contained in:
gregoirenovel 2018-05-31 13:58:03 +02:00 committed by GitHub
commit e6e8a95ca3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,8 +3,9 @@ class FindDubiousProceduresJob < ApplicationJob
FORBIDDEN_KEYWORDS = [ FORBIDDEN_KEYWORDS = [
'NIR', 'NIRPP', 'race', 'religion', 'NIR', 'NIRPP', 'race', 'religion',
'carte bancaire', 'carte bleue', 'sécurité sociale', 'nationalité', 'carte bancaire', 'carte bleue', 'sécurité sociale',
'agdref', 'handicap', 'syndicat', 'politique' 'agdref', 'handicap', 'syndicat', 'syndical',
'parti politique', 'opinion politique', 'bord politique', 'courant politique'
] ]
def perform(*args) def perform(*args)