Hello,
i have problem with search API. When i as regular user call this query
{
"include":["properties"],
"paging":{
"maxItems":10,
"skipCount":0
},
"query":{
"language":"afts",
"query": "PATH:'/app:company_home/st:sites/cm:Test/cm:documentLibrary//*'"
}
}It returns 5 files, which i can see, i have permission on them, but problem is, when someone remove permission from one file, then within next call i will get 403 response. Until SOLR is no't reindexed. This is from my point of view unexpected behaviour. Can i exclude files, which i can't see from results? I know why this is happening, because of SOLR reindex process, which is, he still see 5 files, but when he is trying to return files properties will fail, beacause i don't have permission anymore. My question is, how can i solve this problem?
Thanks