Inaccessible Aura Enabled Getter

< 1 min read

Impact area

Security

Severity

Medium

Affected element

Apex Class

Rule ID #

SF-INACC-AURA

Impact #

In the Summer ‘21 release, a mandatory security update enforces access modifiers on Apex properties in Lightning component markup. The update prevents access to private or protected Apex getters from Aura and Lightning Web Components.

Remediation

Change Private or Protected Getter with Public.

Time to fix #

10 min

References #

This rule is linked to InaccessibleAuraEnabledGetter

Updated on March 21, 2025
Was it helpful ?