Gossamer Forum
Home : Products : DBMan : Customization :

New Upload Mod Question.....

Quote Reply
New Upload Mod Question.....
Would you have to use login and authorization to allow anyone to upload files or can it be bypassed and allow any default user to upload files when modifying an existing record in the database?

-----------------
donm

Quote Reply
Re: New Upload Mod Question..... In reply to
If a default user has "modify" permission, he would be able to upload a file in the modify record page. Uploading is just a part of either adding or modifying a record.

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: New Upload Mod Question..... In reply to
Ok - I have the upload mod (the old one) installed and I have the following line in the script:

unless ($per_mod) { $message = "You are not authorized to upload files";
&cgierr;
exit;
}

All default users have modify permissions - however when someone tries to upload a file they receive the error:
"You are not authorized to upload files".

But when I take a look in the upload directory - the file is actually there.

Do you know what might be causing the error?

-----------------
donm



Quote Reply
Re: New Upload Mod Question..... In reply to
No, I don't know what could be causing it.

However, you could just delete that line, since everyone has permission to upload.

JPD
http://www.jpdeni.com/dbman/