Batch Upload and Quota Problem Batch Upload and Quota Problem
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Batch Upload and Quota Problem

Started by ferrill, August 30, 2005, 11:48:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ferrill

I am using a slightly older version of 1.4 then the official beta but I have not been able to find a post regarding this problem.  It appears that when an administrator does a batch upload into a users account the amount uploaded is counted against the users quota but is not shown that way.

For example:

Below is a partial screen shot of the user admin page.  It shows the user ethan as using 153634 KB out of the available 304800.  A batch upload was performed by admin Ferrill of 107505 KB into user Ethan's personal galleries.  Despite the fact that the 107505 KB is listed under the admin Ferrill it is being counted against the quota of Ethan.  So when Ethan uploads Coppermine thinks (rightly) that ethan has 261139 KB out of 304800 KB.  This can lead to the user running out of quota space without them knowing it becuase their user profile page does not reflect the amount batch uploaded by an admin.  As seen below.  If an admin batch upload into a users personal galleries is gonig to count against that persons quota then the amount should be reflected in thier user profile and the user admin screen.

User Admin Page:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.ethan.speakings.net%2Fadminscreen.jpg&hash=6581f71182d9a5b2e2f90e769ca4de66ce64bd50)

User Profile Page:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.ethan.speakings.net%2Fprofile.jpg&hash=1e9578cd53f11dc22b9af142e393ca6836c3d81f)

Joachim Müller

1) An admin shouldn't upload into a users personal gallery anyway. What's the point?
2) The admin rules: if he decides to upload to a users gallery, the space is taken from the users gallery, what else. How could you possibly code the quota calculation if not by the sum of all files uploaded into a user's personal gallery, no matter who did the upload
3) Please use the most recent cvs checkout. Reporting issues with the beta or even older versions aren't helpful

Marking as "Invalid"

ferrill

"2) The admin rules: if he decides to upload to a users gallery, the space is taken from the users gallery, what else. How could you possibly code the quota calculation if not by the sum of all files uploaded into a user's personal gallery, no matter who did the upload"

Exactly, the problem is that the sum of all the files uploaded into a users personal gallery is not being correctly displayed.  It appears that the quota calculation is correct when a person is actually uploading but that correct calculation is not reflected in any number available.  If an admin does a batch upload for a user, the reported quota is incorrect.

I run a small picture site for my family and friends, if they have a large number of pictures it is sometimes easier for me to do a batch upload for them.

veeber77

I do it too, but since they're my family and friends I put the site into maintenance mode, make them an admin, then login as them to do the batch upload.  I'm the one who made all their accounts for them.  Granted it'd be nice, but how would you handle photos loaded into non-personal galleries? 

Joachim Müller

this thread is closed, cpg1.4.x goes unsupported.