Inaccessible Aura Enabled Getter

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

What's here


Related content

Apex Page rules

Salesforce rules




Last modified on Oct 3, 2023