| 1 | # Default settings for all users (except guest user). These settings are |
|---|
| 2 | # put in the code of the plugin `icy_picture_modify` so you may not have |
|---|
| 3 | # to specify them. All of the following lines mean: |
|---|
| 4 | # - User can edit their own images (image they uploaded) |
|---|
| 5 | # - User can't delete any image |
|---|
| 6 | # - User can upload image to sub categories. Unfortunately, there is no |
|---|
| 7 | # category specified, so they can't upload images to any category. |
|---|
| 8 | # - All images are showed on the Piwigo system after they are uploaded; |
|---|
| 9 | # they will not require any moderation work |
|---|
| 10 | # - User can create new gallery inside sub categories. As there isn't |
|---|
| 11 | # any category specified, they can't create any new gallery. |
|---|
| 12 | # - User can't link an image to any album |
|---|
| 13 | # - User can't create representation for any album |
|---|
| 14 | |
|---|
| 15 | default: |
|---|
| 16 | edit_image_of: owner |
|---|
| 17 | delete_image_of: |
|---|
| 18 | upload_image_to: sub |
|---|
| 19 | moderate_image: no |
|---|
| 20 | create_gallery_to: sub |
|---|
| 21 | associate_image_to: |
|---|
| 22 | present_image_to: |
|---|
| 23 | |
|---|
| 24 | # This user can upload image to category whose identity is `34`; |
|---|
| 25 | # He can edit image of his own and of the user `example_user0`; |
|---|
| 26 | # He can link images to any album in Piwigo system; |
|---|
| 27 | # He can create new gallery in the parent category `34` and its sub |
|---|
| 28 | # category; He can also make representation for any album |
|---|
| 29 | # Finally, he can't delete any images. |
|---|
| 30 | |
|---|
| 31 | example_user1: |
|---|
| 32 | upload_image_to: sub, 34 |
|---|
| 33 | edit_image_of: example_user0, owner |
|---|
| 34 | associate_image_to: any |
|---|
| 35 | create_gallery_to: 34, sub |
|---|
| 36 | present_image_to: any |
|---|
| 37 | delete_image_of: |
|---|
| 38 | |
|---|
| 39 | # This user `example_user2` will have all settings of `example_user1`, |
|---|
| 40 | # except he can delete images of `example_user1` and his own |
|---|
| 41 | |
|---|
| 42 | example_user2: @example_user1 |
|---|
| 43 | delete_image_of: owner, example_user1 |
|---|