I need to take a user role (i.e., Viewer versus User) into consideration
when making queries. How can I check the role in a filter? I’m looking
for something simple if possible, i.e. via a sql_on statement, unless
templates are the only way to do it....