The function "Roles for Queries" can be found in analysis reports and in the search view:
This function shows you all authorized Roles for a certain Query:
If we find the analyzed Query in an inactive authorization object, we will display it as follows: