Highlights
Auth Bypass: 55 prior fixes. Scrutinize any change in this area.
bika/lims/setuphandlers.py: most-fixed (8 issues). Treat as high-risk during review.
53 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Auth Bypass: Multiple workflow guards were missing or using incorrect permissions, allowing unauthorized state transitions (assign, unassign, verify, retract, sampling schedule).
Auth Bypass: Result and remark editing was repeatedly gated by incorrect or missing permissions (e.g., Sampler could edit results, remarks editable without FieldEditAnalysisRemarks, field-level checks missing).
Auth Bypass: Client contacts repeatedly retained access to other clients' data or internal content due to role-provider mismatches, overly broad permissions, or missing filters.