Deterministic Field-Level Security (FLS) gate for anchored conversations.
Returns true when the conversation must be hidden from user because:
true
user
entityInfo.FieldLevelSecurityApplies
anchorType === 'Field'
anchorKey
entityInfo.GetDeniedReadFields(user)
anchorMetadata.fieldName
anchorMetadata.restrictedFields
Runs in O(1) memory with zero database or LLM calls on the read path.
Deterministic Field-Level Security (FLS) gate for anchored conversations.
Returns
truewhen the conversation must be hidden fromuserbecause:entityInfo.FieldLevelSecurityAppliesistrue, ANDanchorType === 'Field'andanchorKeyis inentityInfo.GetDeniedReadFields(user), ORanchorMetadata.fieldNameis inentityInfo.GetDeniedReadFields(user), ORanchorMetadata.restrictedFieldsis inentityInfo.GetDeniedReadFields(user).Runs in O(1) memory with zero database or LLM calls on the read path.