Classes should explicitly declare a sharing mode if DML methods are used
Impact area
Security
Severity
High
Affected element
Apex Class
Rule ID
SF-0018
Impact
Developers should take access restrictions into account before modifying objects.
Remediation
Declare a sharing model in all classes with DML statements.
Time to fix
60 min
References
This rule is linked to Common Weakness Enumeration CWE-284 Improper Access Control.
What's here