forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: Neosporin on June 14, 2009, 12:59:58 pm

Title: Visitors can upload files
Post by: Neosporin on June 14, 2009, 12:59:58 pm
I was wondering if there was a way for 1.4 to mass-update the permissions for the albums so users can upload files.

There is an older post (http://forum.coppermine-gallery.net/index.php?topic=9726.0) talking about how to do it in 1.3 but I didn't know if this method was out-dated or not.

Also, on creating a new album, is it possible to have it automatically enable the option for user uploads?
Title: Re: Visitors can upload files
Post by: Neosporin on June 14, 2009, 01:04:49 pm
Okay, I've fixed the default permissions thing, but I'd still like to know if I can set all of the permissions - maybe using a similar SQL query as to the one above :)
Title: Re: Visitors can upload files
Post by: Joachim Müller on June 14, 2009, 01:54:37 pm
The query has remained the same: run
Code: [Select]
UPDATE yourCoppermineTablePrefix_albums SET uploads = 'YES';in a tool like phpMyAdmin to set public uploads to yes for all albums inside your database.
Title: Re: Visitors can upload files
Post by: Neosporin on June 14, 2009, 02:02:49 pm
The query has remained the same: run
Code: [Select]
UPDATE yourCoppermineTablePrefix_albums SET uploads = 'YES';in a tool like phpMyAdmin to set public uploads to yes for all albums inside your database.

Okay, thanks for the help :D