[ic] Can't upload new images via Admin UI

Randy Clapp interchange-users@lists.akopia.com
Tue Jun 12 14:37:00 2001


All,

I've been playing with administrative privileges and permissions.  I've
created a login that can view and process orders and can also view/edit/add
items.  The problem is that once I create a new item, I can't upload a
picture associated with the item.  I get a "Not authorized to upload file
images/items/<image filename>" error.

Now, the weird part is that if the file already exists on the machine, I can
upload a new picture over it.  I just can't upload a new picture if the file
doesn't already exist.

I'm running IC 4.6.x on Redhat with a MySQL backend if that matters.  I've
looked through the code for upload_file.html and that's where I found that
the login needed a "Files" listing in yes_functions.  This change allowed
the login to upload files if they already existed on the machine, but still
won't let me upload a brand spanking new file.  Maybe I'm just missing
something in the error routine of the admin code, but I can't seem to find
it.  Any help would be appreciated.

Additionally, if anyone can point me in the direction of some documentation
of the access permissions and parameters of the Access table I can work from
there.

Thanks,
Randy