Users can't create albums in specified categories Users can't create albums in specified categories
 

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

Users can't create albums in specified categories

Started by mve, November 17, 2010, 03:33:36 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

mve

Hi there,

Normally I try to stay away from these kinds of forums as most people just don't read the documentation well. However, this time I
did read the documentation well and I just can't figure something out.

I'd like users to be able to make new albums with (logically) new photo's. I bridged my Coppermine 1.5.8 installation with PhpBB 3.0.7-PL1.
I read the instructions so I made a new category where users should be able to make new albums. The odd thing is that the user (In the category Registered) is only able to upload files in a few other already existing albums. The new category (where I selected the user should be able to make new albums) isn't even listed! (pic 2). I would expect that in the Albumlist, another option like NEW ALBUM for the specified category should be available, but it isn't...

The Groups are set to Public Uploading: YES (2x).


What should I change so users can make an album and can upload files in that new album?


Thanks in advance,


Αndré

The settings in the group manager doesn't matter in that case. All relevant settings are in the category manager. You selected both Guests and Registered. I assume you have more groups in your board? Which groups does your test user belongs to?

Maybe it's a bridging issue. Did you made a test with an unbridged Coppermine installation?

mve

Yep, I did. I uploaded a whole new installation without bridging.

Registered users should have unlimited permissions to upload files in NEW albums (albums that they make themselves).
No matter how I set the permissions, they are still not allowed to upload files in self-created albums. However, they can upload in albums which are specifically set to their group. It seems the permissions in the group dialog just don't work!

Some users in the Registered group get a message they aren't allowed to upload anything (Which is odd, because they are in the Registered group. People in that group should be able to make albums in my test category TEST123).

Some users in the Registered group are only able to upload in some albums, but can't make new albums. There is no NEW ALBUM option listed on the UPLOAD page.

And yes, all users except the admin are in the Registered group. I tested it with Safari and Chrome on a Dutch Operating System (Default language is English, however automatically adjusted to operating system language).

I added screenshots to prove it! These screenshots are from an unbridged system.



Αndré

Please post a link to your gallery and a test user account that is in the 'Registered' group.

mve

The gallery is located at http://www.dispuutramses.nl/ramsesfoto/
Username is: testuser
Password is: test

- The user Testuser in in the Registered group.
- I selected the group Registered as a group which should be able to create albums in that category.
- In the group manager, the rights for the Registered group are: Voting/e-cards/comments All YES; Upload public album: allowed without approval (so: first bullet to the left, second to the right). Public gallery: 2x NO; Access level: bottom bullet.
- I've uploaded some great wallpaper pictures in an album in the Test Category.

Αndré


mve

Thanks for the quick reply.
I thought I downloaded the newest version. Should I manually edit the files to solve this bug?


mve

Well, I figured it out myself. Download the new files and uploaded them.
Now users can make new albums and upload files in them.

However, although a particular category has been selected and files are uploaded in the category, the category stays empty and a user gallery (in the category User Galleries) is added, where the album is listed. Nobody is allowed to make private user galleries.

I just downloaded the new files and uploaded (replaced old versions) to the corresponding directories.

User: test1
PW: test

Αndré

Either you replace all Coppermine files or just apply the changes of revision 7856.


Quote from: mve on November 23, 2010, 01:20:53 PM
However, although a particular category has been selected and files are uploaded in the category, the category stays empty and a user gallery (in the category User Galleries) is added, where the album is listed.
I can confirm your issue, but please don't mix 'albums' and 'categories'. You cannot upload files to categories in Coppermine.

mve

Quote from: Αndré on November 23, 2010, 02:17:22 PM
I can confirm your issue,

Well, then this is a real bug isn't it?
I'll stay away from Coppermine, till a new *stable* version is out.

Thanks for your help anyway.

Αndré

I can confirm the issue on your gallery. It works as expected in my local testbed. So you can wait for the next package (which should be released in the next days), or
Quote from: Αndré on November 23, 2010, 02:17:22 PM
Either you replace all Coppermine files or just apply the changes of revision 7856.