Skip to content

DFA check is catching some of the classes #627

Answered by jongpie
mayank-1-2 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mayank-1-2 - great question. Any time a user generates logging data, there are several data points that Nebula Logger automatically queries and stores when creating records in Log__c and LogEntry__c. This data is intentionally queried using without sharing because the LogManagementDataSelector class is typically used by the automated process system user, and this system user does not always have access to some data when using with sharing.

I have not recently tested using with sharing instead, but given that this is a logging tool, it's intended to run behind the scenes with elevated permissions so it can automatically capture extra info, so I think this is a valid time to use without…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mayank-1-2
Comment options

@jongpie
Comment options

@mayank-1-2
Comment options

Answer selected by mayank-1-2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Salesforce Feature: Security Items related to the security model (object-level access, field-level security, record sharing)
2 participants