🌍
English
This shows you the differences between two versions of the page.
user_documentation:permissions_management [2011/09/08 20:34] plg Page moved from en:permissions_management to en:user_documentation:permissions_management |
user_documentation:permissions_management [2011/09/16 14:07] (current) mixedbredie [Album Permission Status] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Album Permission Status ====== | ====== Album Permission Status ====== | ||
- | 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. | + | Administrators can forbid access to albums for users using //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. | + | Prior to Piwigo 2.2, //albums// were known as //categories//. This is just a change of name and the concept and functionality remains exactly the same. |
- | === Editing status === | + | === Editing permission status === |
- | So, the first is to make the desired albums private. You have two ways for switching album from public to private : | + | The first step is to make the desired albums private. You have two ways of switching the album from public to private: |
- | - by editing a single album : [Administration > Albums > Manage > edit] | + | - by editing a single album: [Administration > Albums > Manage > edit] |
- | - by setting options to your whole album tree : [Administration > Albums > Public/Private] | + | - by setting options to your whole album tree: [Administration > Albums > Public/Private] |
=== Default status === | === Default status === | ||
- | At creation, an album can be public or private, depending on configuration and parent album: | + | At creation an album can be public or private depending on configuration and parent album: |
- | * status = ''$conf['newcat_default_status']'' if parent album is //public//. This configuration parameter must be set in ''include/config.inc.php'' file. | + | * status = ''$conf['newcat_default_status']'' if the parent album is //public//. This configuration parameter must be set in the ''include/config.inc.php'' file. |
- | * status = //private// if parent album is //private// | + | * status = //private// if the parent album is //private// |
=== Status modification rules === | === Status modification rules === | ||
Line 24: | Line 24: | ||
* if status goes from //public// to //private//, all child albums become //private// | * if status goes from //public// to //private//, all child albums become //private// | ||
- | * if status foes from //private// to //public//, all parent albums become //public//. We are not talking about cousins, but parents to the root of albums. | + | * if status goes from //private// to //public//, all parent albums become //public//. We are not talking about cousins, but parents to the root of albums. |
=== Example === | === Example === | ||
Line 30: | Line 30: | ||
Let's have an example, shown in next screenshots. At beginning, all albums (categories on screenshots) are public: | Let's have an example, shown in next screenshots. At beginning, all albums (categories on screenshots) are public: | ||
- | {{ permissions_example_1.png |At beginning, all albums are public}} | + | {{en:user_documentation: permissions_example_1.png |At beginning, all albums are public}} |
Then you decide to set {animals >> cat} (the selected album above) to //private// | Then you decide to set {animals >> cat} (the selected album above) to //private// | ||
- | {{ permissions_example_2.png |All children albums become private}} | + | {{en:user_documentation: permissions_example_2.png |All children albums become private}} |
All children albums become //private// automatically. Then, you decide that {animals >> cat >> 8 weeks} must in fact be //public// : | All children albums become //private// automatically. Then, you decide that {animals >> cat >> 8 weeks} must in fact be //public// : | ||
- | {{ permissions_example_3.png |All parent albums become public}} | + | {{en:user_documentation: permissions_example_3.png |All parent albums become 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//) | 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//) |