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: Standard value for album permissions  (Read 2733 times)

0 Members and 1 Guest are viewing this topic.

BjZ

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Standard value for album permissions
« on: September 29, 2008, 08:20:58 pm »

I hope this question isn't asked before, I searched the board but can't find anything.

I use the Coppermine gallery for a website with public albums and member only albums, of course the first is visible to everybody and the second only for registered users. I know only the admin is able to create new albums and users can create albums only in the "user galleries" category. This is right, isn't ?
I'm fine with this, but I want the user album are hidden for guests, so they are only visible for registered users. Now, when a user creates a new album the permissions are standard set to everybody. So, my question is it possible to changed the standard value of the album permissions to "registered users only" ?
I hope somebody can help me with this.
Logged

BjZ

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Standard value for album permissions
« Reply #1 on: September 29, 2008, 09:15:38 pm »

I figured it out. Just got an idea and it works.
Maybe there are others who want to know, I made a change in the mysql database. In the album table there's a field called visibility, the default value of this filed is "0", I changed this to "2" (that's the permission for registered users only). Now the permission for all new albums is changed to this standard setting.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.