[Feat] : add source to actor fields (#18118)

fixes #18099 

Simple implementation of the matchingSourceValues to be searched in the
ACTOR case in turnRecordFilterIntoRecordGqlOperationFilter

<img width="1239" height="494" alt="Screenshot 2026-02-20 at 5 21 14 PM"
src="https://github.com/user-attachments/assets/20ee076e-dccd-4747-a1ab-38d649f6591e"
/>

---------

Co-authored-by: Arun kumar <arunkumar@Aruns-MacBook-Air.local>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Arun
2026-03-10 18:38:18 +05:30
committed by GitHub
parent 59e9563fc7
commit 1656bb5568
7 changed files with 154 additions and 9 deletions
@@ -374,6 +374,13 @@ export const isRecordMatchingRLSRowLevelPermissionPredicate = ({
case FieldMetadataType.ACTOR: {
const actorFilter = filterValue as ActorFilter;
if (isDefined(actorFilter.source)) {
return isMatchingSelectFilter({
selectFilter: actorFilter.source,
value: recordFieldValue.source,
});
}
return (
actorFilter.name === undefined ||
isMatchingStringFilter({