the 'projects' dropdown menu on the case form shows projects which are inaccessible to the current user. pleae wrap this query in db_rewrite_sql() to get access control.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | patch_002.txt | 9.62 KB | tomsys |
| #2 | patch_001.txt | 13.04 KB | tomsys |
Comments
Comment #1
killes@www.drop.org commentedfixed
Comment #2
tomsys commentedWell .. this is my patch for really RESPECTING .. node_access rules.
Please look through and say what you think...
Greeetz,
T.
Comment #3
moshe weitzman commentedIt is true that thos enode listing ueries must be wrapped in db_rewrite_sql(). But you are also running single node retrievals through rewrite which is not needed. You also change some single quote to double quote when that is noot needed and not welcome as per coding standards. Please fix up and resubmit if possible.
Comment #4
tomsys commentedHere we go ,,
Comment #5
sanjeev gupta commentedThe patch has been applied
Comment #6
(not verified) commented