Announcement

  •  » Extensions
  •  » [resolved] Community Plugin Question

#1 2017-02-21 17:09:48

alexn
Member
2017-02-21
4

[resolved] Community Plugin Question

Hi Guys,
I am currently new to Piwigo and have recently installed the Community plug in as I want my users to be able to upload their own photos to their own (new and existing) albums.

Background:
No Album is accessible without login
Only users can change / upload their own albums
All users can see all other sub albums below
One main album which is private and every group / user has access
User creates as many sub albums as they like...

Current issue is:
Whenever a new user creates a new album and uploads a photo, the permissions for the sub album do not filter down from the parent which means other users cannot see the sub album until I, (the admin) re apply permissions to the top level album and apply to all sub-albums.

Is there anyway to set albums which are created under the top level to have the same groups which the top level have applied, or to make the sub albums *public* by default?

I hope this makes sense and do apologise if this is in the wrong category! Please let me know if you need any more information

Cheers,
Alex.

Last edited by alexn (2017-02-21 17:16:02)

Offline

 

#2 2017-02-21 21:48:07

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: [resolved] Community Plugin Question

Hi :-)

in default config

// Default behaviour when a new album is created: should the new album inherit the group/user
// permissions from its parent? Note that config is only used for Ftp synchro,
// and if that option is not explicitly transmit when the album is created.
$conf['inheritance_by_default'] = false;


Add in local config with plugin localfileditor

$conf['inheritance_by_default'] = true;


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2017-02-22 01:07:07

alexn
Member
2017-02-21
4

Re: [resolved] Community Plugin Question

ddtddt wrote:

Hi :-)

in default config

// Default behaviour when a new album is created: should the new album inherit the group/user
// permissions from its parent? Note that config is only used for Ftp synchro,
// and if that option is not explicitly transmit when the album is created.
$conf['inheritance_by_default'] = false;


Add in local config with plugin localfileditor

$conf['inheritance_by_default'] = true;

Perfect!! Just what I was after! Thank you :)

Offline

 
  •  » Extensions
  •  » [resolved] Community Plugin Question

Board footer

Powered by FluxBB

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