Announcement

#1 2017-02-27 09:08:39

drwbe
Member
2017-02-27
1

Default user group (private album)

Hi,

For the album of our newborn baby I am limiting some albums for family only. By default new albums should be for family only. I was already able to set the permission to private, but how do I enable a certain usergroup by default?

Thanks a lot

Wouter

Piwigo version: 2.9.1
PHP version: 7.0
MySQL version: 5.6.33-cll-lve
Piwigo URL: http://finn.deruyck.eu

Offline

 

#2 2017-02-27 17:47:34

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Default user group (private album)

Hi drwbe,

You can't do that (I mean, in Piwigo 2.8).

What you do is:

1) create an album "for my family", set it as private, give access to group "myfamily"
2) with plugin LocalFiles Editor, in the local configuration, add :

Code:

<?php
$conf['inheritance_by_default'] = true;
?>

3) create a new album "for my family / Peter's birthday party" : this new album will automatically be private and permission granted to group "myfamily"

please tell me if it fits your need :-)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact