openfoodfacts / openfoodfacts-server

Open Food Facts database, API server and web interface - 🐪🦋 Perl, CSS and JS coders welcome 😊 For helping in Python, see Robotoff or taxonomy-editor
http://openfoodfacts.github.io/openfoodfacts-server/
GNU Affero General Public License v3.0
653 stars 383 forks source link

Prevention - Limit the number of new product pages without barcodes per IP #170

Open TaciteOFF opened 9 years ago

TaciteOFF commented 9 years ago

What

Part of

stephanegigandet commented 9 years ago

Another option could be to try to defer the assignment of the 200xx barcode and the creation of the product until the user actually saves some data or uploads some pictures. I did it this way because I needed a barcode id for saving and processing pictures.

aleksejrs commented 8 years ago

Or ask the user if they really want to add a product without a barcode.

aleksejrs commented 8 years ago

I posted the above because I clicked the button a few times to see what it does or by accident. I found later that OFF deletes empty products automatically, so it's not important.