[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:
+7
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user