Hello all.
We are on a changing from subsites to sites.
We have one subsite called workspace, that serves all teamsites and it has a query on workspace site page like: path:"https://contoso.sharepoint.com/Workspace" contentclass:STS_Web Site<>{Site.URL} UrlDepth<3 and it shows only the teamsites based on permissions that users have access. (Audiance targetting)
My question is: setting up a new sitepage workspaces and after promoting all sites, on highlight content how can I add/or filter the path script to show same sites based on permissions like we have now? Most viewed pages not fits, cannot present content as well.
If anyone can help, i really appreciate

.



