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
anurag singh 22anurag singh 22 

Custom settings profile access

Hi Guys,
I was wondering if we can give custom settings a profile level access for instance.
i have two custom settings in my org A & B.
I need profile X to view only Custom setting A and not B is this even possible?I tried a few things does not look like it is.
Sagar PareekSagar Pareek
Custom settings by default have a security model built into them.

They have an org/group/individual level when you setup the hierarchy, and default to the next level in the permission set if they have not yet been set for an individual or profile id.

Org > Profile > Individual.

See:http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_custom_settings.htm

Calling methods like: getInstance will return appropriate settings for the user depending on what has been created.
anurag singh 22anurag singh 22
@Sagar I understand the same but say for instance I want an end user to have access to the custom settings in the setup so that he can change the values as per his wish is this something that is possible?