I wonder if I am able to read just 5 items, why I am getting 60+ titles of course I get denied access to the 55 but I am able to see some content in the search that is not good... I would to add security in the search.
The "Faceted Search - Results Template" currently uses this template to show data:
{{#each items}} <li> <h3><a title="{{title}}" href="{{url}}">{{title}}</a></h3> <p class="fragment">{{{fragment}}}</p> <div>
I am currently getting titles that I should be restrict to read.... How I can add security so the search to display the items that I am able to read only and no all?
is there any property to add or validation...
Thank you,
Bill
Is there any way to assign permissions and scope using liquid?
Hi,
Thank you for your query.
I believe this issues is not related to Faceted Search.
You need to look at User's (contact) entity permissions and scope:
https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/assign-entity-permissions
Also, you need to try using Contact Scope if you want to show results relevant to current contact:
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156