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

my common workflow:

  1. patch the node_modules/@strapi/admin (depends on your use case)

  2. for power modification code on src/index.js, modify any objects, ctx, or anything that somehow manipulates the flow of data, which resulted in specific output you want. You can even sniff what the relation input dropdown is doing in the index.js. Middleware would also work like charm for such case.

  3. other method is by making injectionZone that can be inserted into many places and watches it (i call it the react view watcher). This is very powerful if you can combine it with redux (basically you can change any state data in react component)