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

Hi, I have a similar use case but instead of RBAC filters, I want to filter based on a type field of the relation’s ContentType. Which workaround did you use?

Thanks.