You can try creating a filter on the wp_capabilities custom field, it should store the user role, like this: https://i.imgur.com/9xb9XCj.png
The roles have to be entered line-by-line there, the {get_values} syntax will not work in that case unfortuantely.