Announcement

#1 2020-09-06 08:59:53

stijnh
Member
2020-09-06
2

prevent creation of nested sub albums

Hello,

I would like registered users (Community plugin) to upload foto's in sub albums, but not nested sub albums.
For example, the structure would be:
current year
current year/1A
current year/1B
current year/2A

Users should be able to create sub albums in 1A, 1B or 2A, and upload photo's in them:
Current year/1A/sub album 1
Current year/1A/sub album 2
Current year/1B/sub album 2

but not below:
So users should not be able to create:
Current year/1A/sub album 1/sub sub album 12

Is it possible to organize permissions such way?

Piwigo version: 2.10.2
PHP version: 7.3.22
MySQL version: 5.5.5-10.3.24-MariaDB-1:10.3.24+maria~focal
Piwigo URL: https://piwigo.triptrapschool.be

Offline

 

#2 2020-09-06 09:04:17

stijnh
Member
2020-09-06
2

Re: prevent creation of nested sub albums

So in fact, I would like users to be able to create sub albums in album 1A. But do not want that the permission to create sub albums is inherited below 1A. 1A should have the permission to create sub albums. But the created sub albums should not have that permission.

Offline

 

Board footer

Powered by FluxBB

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