Rule: ApexCRUDViolation
Let's consider the following improvements (quoting @rsoesemann here):
- Change CRUD/FLS rules in Dml and SQOL to recommend USER MODE over all the suboptimal old solutions
- Discourage the use of WITH_SECURITY ENFORCED as Daniel Ballinger and Chris Peterson said on TDX23
- Check what else is missing in PMD regarding Security (e.g.with inherited sharing is also not parsed correctly)
Rule: ApexCRUDViolation
Let's consider the following improvements (quoting @rsoesemann here):