Assign a record to another admin

System Information
  • Strapi Version: v4.20.0
  • Database: MYSQL
  • Node Version: v18.17.1

I’m using strapi v4.20.0 . And i have a couple of collections in there .
I have 2 roles 1 admin and moderator .

i don’t know if this is possible . but I want to assign a record in products collection to a moderator so he can have access to it .

i have set up a relation between products and users . product has many users .

in the RBAC I set that he can see and update if he is the creator … but I want to make him see the record and update it if he’s in relation with a product …

any idea how can this be done ? or is it even possible in strapi ?

if anyone interested in the solution
Solution - stackoverflow