forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: deocare on February 15, 2004, 06:04:55 am

Title: easy way to set permission
Post by: deocare on February 15, 2004, 06:04:55 am
Is there a faster way to set permission to the album?

Cause in one catergory i have like 60 album... and i have to set the persmmision singaly on all 60 albim... is there a faster way to set all of them at once?
Title: easy way to set permission
Post by: Joachim Müller on February 15, 2004, 08:54:18 am
depends on the overall structure of your gallery. If you're familiar with mySQL queries, use a tool like phpMyAdmin to manually run a query like this:
Quote
UPDATE `cpg11d_albums` SET `visibility` = '2' WHERE `category` = '0';
(in this example, all albums in the category "0" (root category) will be set to "visible for registered group"). The parts in red have to be modified to your needs. Backup your database first! Only apply if you understand what this will do!

GauGau
Title: easy way to set permission
Post by: deocare on February 15, 2004, 08:51:33 pm
But i have like 20 group.

and i want all the group to be able to upload ..
Title: easy way to set permission
Post by: Joachim Müller on February 16, 2004, 10:09:36 am
if your setup is that complicated, there's no simpler way than setting permissions with the means coppermine offers (in fact, that's why there is a GUI). Maybe you should think about reducing your groups, making things less complicated to administer in the first place...

GauGau