function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tarun Agarwal 1Tarun Agarwal 1 

custom setting enforcing CRUD & FLA

Hi All, 

I need to know how I can let edit (Upsert ) my managed package custom settings by all user, what permission and what setting do I need to do and ship in Manage package ?
KyleKyleKyleKyle
There is no traditional CRUD & FLS for custom settings. They are designed for use in Apex, and your classes will have access to them automatically. The only choice you need to make is whether they are public or private. Private custom settings are only available to apex from your namespace (your package), while public custom settings are available to all namespaces.
Tarun Agarwal 1Tarun Agarwal 1
Thanks KyleKyle, 

But my App fails to pass the Security review saying I have to enforce CRUD for Custom settings. My Custom Settings are public
KIRAN HEBBARKIRAN HEBBAR
We are also facing a same issue - CRUD/FLS violation is detected in a security view in an apex class which updates custom setting field. How do we handle this? Can we just add this in false promise report?