This is an old revision of the document!
Administrators can forbid access to albums for users. This is what we call permissions. Albums can be public or private. Permissions can only be set for private albums.
Prior to Piwigo 2.2, albums were known as categories. This is just a rename and remains exactly the same concept in Piwigo.
So, the first is to make the desired albums private. You have two ways for switching album from public to private :
At creation, an album can be public or private, depending on configuration and parent album:
$conf['newcat_default_status']
if parent album is public. This configuration parameter must be set in include/config.inc.php
file.When editing album access status, automatic rules are applied :
Let's have an example, shown in next screenshots. At beginning, all albums (categories on screenshots) are public:
Then you decide to set {animals » cat} (the selected album above) to private
All children albums become private automatically. Then, you decide that {animals » cat » 8 weeks} must in fact be public :
All parent albums become public automatically. The parent albums of {animals » cat » 8 weeks} are {animals » cat} (previously private) and {animals} (which was already public)
Permissions are managed by group or by user. For a private album, permissions tell whether the user (or users belonging to the group) can view the album.
Two screens let you modify permissions :
Here follows a list a rules used: