No description
Find a file
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
.cursor Warenwirtschaft: AP-09 bis AP-13 (Produktbestand, Set-Produkte, Ausschuss, Konzepte) 2026-06-03 11:04:22 +00:00
.devcontainer Warenwirtschaft: AP-09 bis AP-13 (Produktbestand, Set-Produkte, Ausschuss, Konzepte) 2026-06-03 11:04:22 +00:00
.idea main system 2021-01-15 18:16:31 +01:00
app 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
bootstrap first commit 2021-01-08 17:48:20 +01:00
config commit 08-2025 2025-08-12 15:51:04 +02:00
database Warenwirtschaft: AP-31 Löschen mit Soft-Delete + Abhängigkeitsprüfung 2026-07-15 12:31:11 +00:00
dev Warenwirtschaft: Audit-Bericht 15.07. + Entwicklungsplan-Protokoll (Bugfix, AP-31) 2026-07-15 12:33:15 +00:00
docker/8.4 April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
docs Warenwirtschaft: Testleitfaden — Klickwege als Links 2026-07-07 10:17:31 +00:00
packages Updates to 03-2025 2025-04-01 10:39:21 +02:00
public April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
resources 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
routes 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
storage April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
tests 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
tools Updates to 03-2025 2025-04-01 10:39:21 +02:00
.env April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
.gitignore first commit 2021-01-08 17:48:20 +01:00
.mcp.json April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
.php-cs-fixer.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
.phpstorm.meta.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
_ide_helper.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
_ide_helper_models.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
artisan first commit 2021-01-08 17:48:20 +01:00
CLAUDE.md April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
composer.json April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
composer.lock April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
docker-compose.yml April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
package-lock.json first commit 2021-01-08 17:48:20 +01:00
package.json first commit 2021-01-08 17:48:20 +01:00
partner.gruene-seele.bio.code-workspace April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
PAYMENT_REMINDER_CRON.md commit 08-2025 2025-08-12 15:51:04 +02:00
phpunit.xml April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
server.php first commit 2021-01-08 17:48:20 +01:00
ssh-cron-info.readme commit 08-2025 2025-08-12 15:51:04 +02:00
ssh-info.readme Updates to 03-2025 2025-04-01 10:39:21 +02:00
webpack.mix.js first commit 2021-01-08 17:48:20 +01:00