problem uploading to gallery created by another admin - Page 2 problem uploading to gallery created by another admin - Page 2
 

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

problem uploading to gallery created by another admin

Started by shortmort37, December 09, 2010, 03:12:38 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

shortmort37

Is there anything for me to do here?  Is there an official mechanism for reporting bugs?  I can work around this issue by choosing the simple (non-flash) upload mode and close this case - I just want to make sure the issue is tracked properly.

Thanks
Dan

Αndré

First of all we have to determine if it's really a bug or just a configuration/setup issue.

Again,
Quote from: Αndré on December 12, 2010, 07:18:01 PM
Please try what happens when you remove Faulkner from the groups
            [2] => 105
            [3] => 104


I don't want that you permanently remove Faulkner from these groups, but only for testing purposes.

shortmort37

OK - I'll create another administrative account, so I can remove administrative privileges from Faulkner, and report back.

Dan

shortmort37

OK, I removed Faulkner from those groups - now, only has membership in the same groups as "Ron Keij", the creator of the album.  Flash upload still fails (debug attached).  Simple, single file upload works.


shortmort37

Anything more for me to do here?  I'm OK with doing a simple, single file edit.  Shall I close this?

Dan

Αndré

It fails with which message? With the 'you don't have permission' message (which would be an issue), or with the 'big' error message you posted later (which mostly happens when a theme or plugin accidentally injects some characters to the ajax response).

You have enabled private albums. Maybe the album is private you try to upload to? I haven't tested that yet.

Quote from: shortmort37 on December 16, 2010, 04:52:43 PM
Shall I close this?
Fine by me, as it seems to work without any problems in an unbridged gallery. At least it worked in my testbed, so maybe it's just an individual issue for your settings.

shortmort37

Quote from: Αndré on December 16, 2010, 05:03:01 PM
You have enabled private albums. Maybe the album is private you try to upload to? I haven't tested that yet.

I only want for myself and my colleague to be able to upload - I don't want for the general public to be able to upload.  But I need to be able to edit his, and he needs to be able to edit mine.  Is there another option that would enable this workflow, without making the album private?

Dan

Αndré

Please read the docs what the private albums feature does. It has no effect to what you described. My actual question was, if that particular album is set to private or not.

shortmort37

I am sorry to be delayed in my response.  I am now returning to this topic.

Quote from: Αndré on December 16, 2010, 05:09:39 PM
Please read the docs what the private albums feature does. It has no effect to what you described. My actual question was, if that particular album is set to private or not.

I see that I was confusing a private album (in Config) with personal gallery (in Groups).  I have since unchecked private in config; I want for all albums to be visible.

However, this has not affected the outcome.  I *still* cannot upload a file to an album my fellow GalleryAdmin has created, even though I have no more, or no less, privileges than he has.  That is:  I cannot do it, if I use "flash" (multiple) mode.  I can do it without problem, if I use single file mode.

It seems to this naive user, that if there were some sort of permissions problem, it wouldn't matter which mode I used; it would either fail, or succeed, both ways.  That it fails one way, and succeeds the other, suggests to me there is a bug.

Try it yourself.  Use the cpgtest account - it has the identical privileges as "Ron Keij", the creator of the album.  The album I have been uploading to (unsuccessfully with flash, successfully with single image mode) is "Curt Lambdin".

shortmort37

Quote from: shortmort37 on December 21, 2010, 12:35:35 AM
I am sorry to be delayed in my response.  I am now returning to this topic.

I see that I was confusing a private album (in Config) with personal gallery (in Groups).  I have since unchecked private in config; I want for all albums to be visible.

However, this has not affected the outcome.  I *still* cannot upload a file to an album my fellow GalleryAdmin has created, even though I have no more, or no less, privileges than he has.  That is:  I cannot do it, if I use "flash" (multiple) mode.  I can do it without problem, if I use single file mode.

It seems to this naive user, that if there were some sort of permissions problem, it wouldn't matter which mode I used; it would either fail, or succeed, both ways.  That it fails one way, and succeeds the other, suggests to me there is a bug.

Try it yourself.  Use the cpgtest account - it has the identical privileges as "Ron Keij", the creator of the album.  The album I have been uploading to (unsuccessfully with flash, successfully with single image mode) is "Curt Lambdin".

It seems that there is something browser specific about this.  Using IE under Windows, I can upload a file to the "Curt Lambin" album, created by "Ron Keij".  Using either Chrome or Firefox under Ubuntu, I cannot using Flash mode; but I can to an album I've created!

...I feel like I'm flogging a dead horse at this point.  There's a lot about this that doesn't add up for me, but since I have a workaround (single file, non-flash mode) I'm going to abandon this topic and close it.

Αndré

I suppose this is a either a bridging issue or somehow related to your Coppermine settings, as I cannot replicate it in my (unbridged) testbed. If someone figures out what exactly doesn't work in that environment he can reply to this thread so we may fix it.