Standard value for album permissions Standard value for album permissions
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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.