View Categories

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.

Powered by BetterDocs