#1 2002-09-15 22:17:32

Alex
Guest

how can i restrict access by default to a new created catego

Hello again  ;) !
Is there a possibility to restrict access to a new created image folder by default?
Since now, any folder that i create new, is accessible for any user!
I thought of creating an additional function, that could be started from the cat.php site. That function could create entries in the *_restrictions table for the chosen category for every user.
Much more simple for a user could be to restrict access to every image folder found in the filesystem but not found in the database, when you start "miseajour".
I think i could manage this task by myself, but i'm not sure how to cope with an update of PWG then later! :? 
Or is such a function already planned to be programmed, soon? - Or has anybody in this forum already realized that?
If there's anybody there who did it, please let me know about that!

Thank You!
Alex

 

#2 2002-09-15 22:40:00

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

Re: how can i restrict access by default to a new created catego

a such function is already in preparation (it's done in fact...) : you can choose restrictions for a category (for all users) instead of chosing restrictions for a user for any categories...

Offline

 

#3 2002-09-16 00:44:15

alex
Member
Bonn, Germany
2002-09-15
31

Re: how can i restrict access by default to a new created catego

Wow!
Under these circumstances I will wait for the updated version!  :D 
Great Work!
Alex

Offline

 

Board footer

Powered by FluxBB

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