Custom RBAC on relation's dropdown field (content-manager)

How do you limit relation field content according to roles ?


I have workaround which deals with internal modification of /plugin-content-manager/server/controllers/relations.js By simply commenting the default filter field.

However, i am concerned with the comment which says “Cannot Filter for RBAC Reasons”
what is that suppose to mean ? Is it implying strapi already handles it ?


System Information
  • Strapi Version: v4.11.7
  • Operating System:
  • Database: Postgres
  • Node Version: 18
  • NPM Version:
  • Yarn Version: