Scope api results to certain users or api tokens

System Information
  • Strapi Version: 4.8.2
  • Operating System: macos
  • Database: sqlite
  • Node Version: 18.14.2
  • NPM Version: 9.5.0
  • Yarn Version:

Hi everyone,

Is there a way to hide certains results from certain users or api tokens ? I have a collection of content but i want the “fetcher” to only access certain items and not others. I have implemented a component that have a slug property and i’m able to get the result i want using /api/items?populate=*&filters[guard-component][slug][$eq]=some-slug but i was wondering if there’s a better way to do this.