context-refactoring: added permission checks for alternative formats of custom query
Authored by: cboos 2007-10-25
Parent: [r6095]
Child: [r6097]