gruene-seele/tests/Feature
Kevin Adametz 9ed47c02f3 Warenwirtschaft: OPT-9 AuthZ/CSRF-Härtung (Audit M-2, M-3, M-6, M-7, M-10)
- M-2: Produktionen buchen Bestand — StoreProductionRequest verlangt
  jetzt admin >= 7 (wie manuelle Bestandsbewegungen); create/edit/copy
  im Controller gegated, UI-Buttons für niedrigere Stufen ausgeblendet.
- M-3: Ausschuss-/Bewegungs-/Produktions-Buttons nur noch für
  Berechtigte sichtbar (keine toten Formulare mehr).
- M-6: Zustandsändernde GET-Routen umgestellt — stock-entries/copy
  jetzt POST mit CSRF; /admin/product/delete jetzt DELETE-Formulare
  (Produktliste + Rezeptur-Zeile im Produktformular).
- M-7: ProductController::imageAttribute whitelistet Spalten
  ('active', 'pos') + numerische Werte, sonst 400 — kein beliebiger
  Spalten-Write per URL mehr.
- M-10: URL-Felder (Lieferant, Verpackungsartikel, INCI-Lieferanten-
  Repeater) validieren url:http,https — keine speicherbaren
  javascript:-Links mehr.

Tests: ProductionHardeningTest +2; drei bestehende Tests an neue
Regeln angepasst (admin-Level 7 für Produktions-Formular, POST-Copy).
Suite: 231 grün.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 12:55:11 +00:00
..
BatchPrefixTest.php Warenwirtschaft: AP-24 Chargen-Nr.-Praefix auf Produktebene 2026-07-06 12:09:41 +00:00
ChargeDisposalConsistencyTest.php Warenwirtschaft: OPT-6 Bestandswahrheit — Ausschuss in Chargen-Restmengen (Audit H-1, M-5) 2026-07-15 12:42:46 +00:00
DeliveryTimeSettingsTest.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
DisposalReasonSettingsTest.php Warenwirtschaft: Anforderungsrunde 12.06. — Plan V5.0 + AP-26/AP-25/AP-22 2026-06-12 16:28:45 +00:00
ExampleTest.php Warenwirtschaft: OPT-1 Quick Wins + Entwicklungsplan V6.0 2026-07-06 09:54:24 +00:00
IngredientActiveRecipeFilterTest.php Warenwirtschaft: AP-21 INCI-Erweiterungen 2026-07-06 11:36:28 +00:00
IngredientOrderFieldsTest.php Warenwirtschaft: AP-21 INCI-Erweiterungen 2026-07-06 11:36:28 +00:00
InventoryDeletionTest.php Warenwirtschaft: AP-31 Löschen mit Soft-Delete + Abhängigkeitsprüfung 2026-07-15 12:31:11 +00:00
InventoryNoticesTest.php Warenwirtschaft: Menüpunkt „Leitfaden" (Einstellungen) rendert testleitfaden.md 2026-07-07 10:14:42 +00:00
InventoryPhase2Test.php 13-05-2026 Waren Wirtschaft 2026-05-13 18:09:20 +02:00
InventoryPhase3Test.php 13-05-2026 Waren Wirtschaft 2026-05-13 18:09:20 +02:00
InventoryUrlFieldsTest.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
ProductionHardeningTest.php Warenwirtschaft: OPT-9 AuthZ/CSRF-Härtung (Audit M-2, M-3, M-6, M-7, M-10) 2026-07-15 12:55:11 +00:00
ProductionManufacturerRecipeTest.php Warenwirtschaft: AP-28 Neue Produktions-Maske + Produktionsergebnis 2026-07-06 14:02:54 +00:00
ProductionOutputTest.php Warenwirtschaft: AP-28 Neue Produktions-Maske + Produktionsergebnis 2026-07-06 14:02:54 +00:00
ProductionPhase5Test.php Warenwirtschaft: AP-09 bis AP-13 (Produktbestand, Set-Produkte, Ausschuss, Konzepte) 2026-06-03 11:04:22 +00:00
ProductOutOfStockTest.php Warenwirtschaft: Anforderungsrunde 12.06. — Plan V5.0 + AP-26/AP-25/AP-22 2026-06-12 16:28:45 +00:00
ProductPhase0Test.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
ProductPhase1Test.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
ProductPhase4Test.php 13-05-2026 Waren Wirtschaft 2026-05-13 18:09:20 +02:00
ProductPhase51Test.php Warenwirtschaft: OPT-9 AuthZ/CSRF-Härtung (Audit M-2, M-3, M-6, M-7, M-10) 2026-07-15 12:55:11 +00:00
ProductSetTest.php Warenwirtschaft: OPT-9 AuthZ/CSRF-Härtung (Audit M-2, M-3, M-6, M-7, M-10) 2026-07-15 12:55:11 +00:00
ProductStockTest.php Warenwirtschaft: Anforderungsrunde 12.06. — Plan V5.0 + AP-26/AP-25/AP-22 2026-06-12 16:28:45 +00:00
RawMaterialStockTest.php Warenwirtschaft: OPT-3 Index-Limits + OPT-4 show()-Refactoring 2026-07-06 12:23:20 +00:00
RecipePhaseTest.php Warenwirtschaft: AP-23 Rezeptur-Phasen (Hersteller-Rezeptur) 2026-07-06 12:02:39 +00:00
RecipeRobustnessTest.php Warenwirtschaft: OPT-8 Rezeptur-Robustheit (Audit H-4, H-5, M-8, N-11/12/14) 2026-07-15 12:48:55 +00:00
StockDisposalTest.php Warenwirtschaft: OPT-1 Quick Wins + Entwicklungsplan V6.0 2026-07-06 09:54:24 +00:00
StockEntryChargeMergeTest.php Warenwirtschaft: AP-28 Neue Produktions-Maske + Produktionsergebnis 2026-07-06 14:02:54 +00:00
StockEntryPriceTest.php Warenwirtschaft: OPT-9 AuthZ/CSRF-Härtung (Audit M-2, M-3, M-6, M-7, M-10) 2026-07-15 12:55:11 +00:00
StorageSettingsTest.php Warenwirtschaft: AP-31 Löschen mit Soft-Delete + Abhängigkeitsprüfung 2026-07-15 12:31:11 +00:00
SupplierDetailsTest.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
SupplierOrderFieldsTest.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
TaxRateSettingsTest.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00