tql filter unusable for normal users
espie - February 29, 2008 - 13:17
| Project: | Taxonomy Query Language |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I've been using tql as an admin without issues, but it does not work for roles without `administer nodes' as permission.
I've traced this to the user module trying to rewrite the sql to add permission checks.
Unfortunately, the syntax used by tql is too complex for the rewrite code to make any sense of it.
How to reproduce:
- create a view
- add an exposed filter that uses tql
- log in as a role who doesn't have `administer nodes' permissions
- try to use the filter
- see the nice sql error.

#1
I cannot reproduce this problem.
I tried your instructions and I used anonymous (which definitly does not have "administer nodes") and I can use the filter without any sql errors.
What is the exact SQL error you are seeing?
#2
I no longer use tql, views in drupal6 give me what I need. I haven't really tried reproducing that old bug, I think it no longer matters.