Standard value for album permissions Standard value for album permissions
 

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]

Main Menu

Standard value for album permissions

Started by BjZ, September 29, 2008, 08:20:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BjZ

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.

BjZ

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.