Hi guys,
Is there a way how to filter data through logged user?
userDataFilters works pretty good, but only for static variable, for example:
{
"data": {
"type": "userDataFilter",
"id": "filter1",
"attributes": {
"maql": "{label/email} = \"a@b.com\"",
"title": "Filtr prodejce"
},
"relationships": {
"user": {
"data": {
"id": "",
"type": ""
}
}
}
}
}
Is it possible to change magl from static a@b.com to logged user mail?
Thanks a lot.
Ondrej
Best answer by Joseph Heun
View original