Improve ''Attach File'' permission check on wiki pages.
Authored by: cboos 2007-06-01
Parent: [r5562]
Child: [r5564]