Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [fls]

FLS - Field level security

0
votes
2answers
40 views

Field-level setting in the Campaign object

In my project, I create the Campaign object through Site. On public site setting, I configured (FLS)field level setting for all Custom fields in the Campaign Object. Access the site above to ...
0
votes
2answers
224 views

Service Contract is not showing up in Lightning

I am working on field service lightning , I am able see Service contract (Standard object)in salesforce classic but when i switch to salesforce Lightning then Service contract object is not visible . ...
7
votes
1answer
61 views

Is Describe Information Accurate for the Site Guest User?

As the title states, can describe information be trusted for the site guest user? Scenario I want to be able to insert/update tasks against accounts via a public Apex webservice. Yes, I'm aware of ...
4
votes
1answer
162 views

Hiding Standard fields from the Record creation window - Napili Template

Seems straight forward: Field Level Security to hide the fields, but this seems like, we cannot make disable the Read permission(as it always defaults to checked): Created By, Last Modified By, Record'...
4
votes
1answer
1k views

How to resolve FLS Create and FLS Update issue as per security scanner

Running the Security Scanner showed the Following Issues In order to avoid it I tried adding the following line if(Schema.sObjectType.SAP_Change_Event_Config__c.isCreateable())- For object ...
3
votes
1answer
77 views

Why is Field Level Security at the object-level presented as “Visible / Read-only” instead of “read / edit”?

If you access FLS settings for a given profile, it lists all the "edit" and "read" permissions for all fields in any object. If accessing the FLS settings from the object by clicking the "Field Level ...
2
votes
1answer
180 views

Enforce FLS/CRUD Delete issue in security scan

I am getting problem in understanding a issue given by security scan. The problem is : [] I am not pasting the whole code but the essential lines: public with sharing class ...
0
votes
1answer
176 views

How to hide field from standard page layout - using lightning

I have a custom object with two fields: 1) Start_Date__c - date 2) Start_Month_Year__c - Formula(Text) When the record is view (detail) I just want to show Start_Month_Year__c (formula field) and ...
0
votes
1answer
67 views

CRUD FLS issue to edit task access for site guest user

I am applying CRUD FLS on task object fields and also I have provided read and edit access to task for site user profile. Even checked with sharing settings as 'Controlled by parent'. But still when ...
0
votes
1answer
83 views

Not able to update RecurrenceTimeZoneSidKey field on task object

What are the work around the task object in Salesforce, i am trying to update task which is having information in the form of JavaScript object which is mentioned below and when i am trying to update ...
0
votes
1answer
41 views

Custom Field is inactive/inaccessible but with proper FLS

I have a custom picklist field(Program__c) in Account object which is Visible to System Admin profile. However when a System Admin opens an Account record, its appears inactive/inaccessible. Here is ...
0
votes
1answer
61 views

Custom fields - FLS

When you create a new custom field on a standard object or a custom object, by default there is some FLS. (I mean for some profiles the Visible checkbox is checked and for some it is not.) How is that ...
0
votes
1answer
57 views

FLS Code Coverage issue

Need code coverage for my IF block if (!Schema.sObjectType.Account.fields.Name.isCreateable()) { ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.FATAL, ...
2
votes
0answers
58 views

CRUD-FLS Implementation for Event Object

We are creating a managed package and have submitted for Security review process. We had implemented CRUD-FLS check on all the objects we had used within our application except EVENT. But we had ...
2
votes
0answers
98 views

Why Field Accessibility Check is broken in a Managed Package?

my code has a centralised class which is responsible for all DML operations. This class before inserting / updating / deleting a record is checking: 1, if the object is accessible for the current ...
1
vote
0answers
30 views

CRUD/FLS Enforcement for configuration tables like FiscalYearSettings

Is Field Level Security enforcement a requirement for querying tables like 'FiscalYearSettings' and 'Period'? or only for tables like Opportunity and Contact. Our app need to display the fiscal year ...
1
vote
0answers
54 views

Do subsequent Unlocked Package version installs deploy FLS?

I've created an Unlocked Package using Salesforce CLI and installed the first version in an org. I've checked the Field Level Security for each Profile and they were all correct. But when I changed ...
1
vote
0answers
408 views

Permission Set does not override Field Level Security?

According to this documentation, Permission Sets are defining the Field Level Security. But I'm experiencing odd behavior. I'm not having access to a field, that I should be able to edit, according to ...
1
vote
0answers
100 views

FLS/CRUD Enforcement In Helper Classes

We have several controller classes that call out to helper classes to grab data or save data. This has resulted in a few questions... Is it sufficient to simply check all permissions in the ...
1
vote
0answers
492 views

deploying Field level security

what is different from force.com 28 to 31? i was able to move the field level security using force.com 28 without adding profiles to the package. but with the newer versions of Force.com >= 31 it is ...
1
vote
0answers
80 views

Do I need any CRUD & FLS Checking for code below ? Will it pass in Appexchange Review?

Note : I have done CURD & FLS for Account & Contact which I have inserted already i.e. objAccount1 and objContact1 Code : //create an opp for each lead Database....
0
votes
0answers
55 views

Changing Owner before editing causes an error

Can I have a little help understanding this problem. In this scenario I always recieve an error that looks like a Field Level Security (FLS) problem but I am accessing as a System Administrator. On ...