coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 permissions => Topic started by: mmeike on March 26, 2012, 10:07:55 PM

Title: Setting upload approval rights
Post by: mmeike on March 26, 2012, 10:07:55 PM
Hello,

I want to create a gallery where users can upload in a album, but the uploaded files should don't have the approval ticked and should be not viewable before the admins change them to approved.

Read the manual and tried to create it the way I understood it from the manual:
For the group registered users I set the permissions in "upload to public albums" that way: Allowed=yes, approval=yes

But somehow this is not working and all images uploaded by a user of the "registered users" group already have the approval ticked.

What's my mistake here? Can the album properties and viewing rights for the album have something to do with this?
Title: Re: Setting upload approval rights
Post by: Αndré on March 27, 2012, 10:21:35 AM
Please post a link to your gallery, and ideally a test user account which is affected by what you describe.
Title: Re: Re: Setting upload approval rights
Post by: mmeike on March 27, 2012, 11:34:29 AM
Quote from: Αndré on March 27, 2012, 10:21:35 AM
Please post a link to your gallery, and ideally a test user account which is affected by what you describe.

Upps, sorry, of course. Thought I'd made a simple thinking mistake, but if you need to test, no problem.

The gallery:
http://coppermine.orientierungslauf.de/

User: Fotograf
Password: Fotograf

You can upload whatever you want in the album Fotograf.
Problem is that after the upload it's automatically set to approved, which I don't want. If you want to check configuration data:
admin/passwort (let me know when you don't need it anymore so I can change the passwort back)

Meike
Title: Re: Setting upload approval rights
Post by: Αndré on March 27, 2012, 11:46:44 AM
Quote<!--Coppermine Photo Gallery 1.5.12 (stable)-->
Please upgrade your gallery to the latest release (currently cpg1.5.18).
Title: Re: Setting upload approval rights
Post by: Αndré on March 27, 2012, 11:49:09 AM
Your "Fotograf" account is member of the groups "Registered" and "Presse". The "Presse" group has set approval to "no". I assume that's the reason why your pictures are approved immediately after the upload.
Title: Re: Re: Setting upload approval rights
Post by: mmeike on March 27, 2012, 12:50:43 PM
Quote from: Αndré on March 27, 2012, 11:49:09 AM
Your "Fotograf" account is member of the groups "Registered" and "Presse". The "Presse" group has set approval to "no". I assume that's the reason why your pictures are approved immediately after the upload.

Thank you, that was it, yes.
During testing I somehow managed to mess up something very badly, in the end the user Fotograf wasn't able to upload anything, even after I set the permission back like they were before. Also new users in the group Registered had the same problem. No idea what was messed up, cause I reset the group permission more than once. Solved it pragmatically in the end by just creating a new group, which is fine for me cause I had intended to create a own group for the photographers anyway before going live...

Working solution for setting group permissions if you want to have a user in more than one group was:
Set settings for all groups this user is in to Upload=Yes and Approval=Yes

Works perfectly that way.

I first tested to set Upload=No and Approval=Yes for the second group, which seemed to have messed up everything...

But no matter, works fine now, thanks for your help.

Meike