Grafana - Keycloak Authorization using role

I am able to authenticate using OAuth2, my requirement is that i have 3 teams(TeamA,TeamB,TeamC). I have 9 roles created in Grafana realm in keycloak) each team has 3 roles (TeamA-readonly, TeamA-write, TeamA-readwrite…and so on). Each Team has their own datasources & their own dashboards in grafana. I want to implement a solution where if a user has certain role he can only access specific data. How do i implement this? (multi-team Authorization)

i have come across : role_attribute_path but don’t know how to use it? Requesting for help