Advanced search  

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]

Pages: [1]   Go Down

Author Topic: easy way to set permission  (Read 2514 times)

0 Members and 1 Guest are viewing this topic.

deocare

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
easy way to set permission
« 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
easy way to set permission
« Reply #1 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
Logged

deocare

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
easy way to set permission
« Reply #2 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 ..
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
easy way to set permission
« Reply #3 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
Logged
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 18 queries.