Active
Project:
Fileshare
Version:
4.7.x-2.1
Component:
Module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2007 at 03:54 UTC
Updated:
27 Feb 2007 at 16:50 UTC
The above error is displayed if all persmissions are granted for Fileshare accept 'download files'. My requirement is for users to upload files, but not download files.
Thanks
Mike
Comments
Comment #1
pkrasko commentedThat is a pretty specific use case. I would probably put that under feature requests...
Comment #2
JamieR commentedIt's actually not a bug - it's just a cryptic message. I suppose what it should say is access denied or something similar... send me a patch. You'll want to edit the .js file. Just search for jah error.... you'll want to just replace the message text if the response is "Forbidden"
Thanks!
Comment #3
pkrasko commentedForbidden is what is returned from the server, so we would like to keep that error msg [it's pretty common].
I would suggest changing 'jah error:' to just 'Error:'. Not many people out there know what jah is or even really care.
Line 93 in fileshare.js [HEAD version] needs to be changed from:
document.getElementById(tag).innerHTML = "jah error:\n" +
TO
document.getElementById(tag).innerHTML = "Error:\n" +
You can do a find and replace if you're not working off HEAD.
-phil