[SOLVED] PERMISSION FOR SUB ALBUM

andybt
andybt's picture

Joined: 2004-12-03
Posts: 37
Posted: Tue, 2005-07-12 10:49

Hi Guys,

I am trying to allow "everybody" to see one of my sub-albums and the contents of it. I have set the permissions for the sub-album as everybody can view all sizes of picture, and read comments. It is not being shown uunless I log in though. If I set the "everybody" permission on my top level directory I can see all of the sub albums. How dod I get just one sub album shown??

Thanks

ANdy

----

Gallery version = 2.0-beta-3 core 0.9.17
PHP version = 4.3.11 apache2handler
Webserver = Apache/2.0.52 (Fedora)
Database = mysql 3.23.58
Toolkits = ArchiveUpload, Exif, NetPBM, Thumbnail, ImageMagick
Operating system = Linux
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-07-12 10:58

it should work by going to the sub-album, there click on the edit permissions link in the sidebar menu on the left side, then give the everybody group the view all versions permission and leave the " Apply changes" checkbox checked to inherhit your changes to all subitems / images in this sub-album.

 
andybt
andybt's picture

Joined: 2004-12-03
Posts: 37
Posted: Tue, 2005-07-12 11:51

That's what I had hoped!! It isn't showing itself though unless logged in though. Do I need to untick the box in the top album so that the permissions aren't carried down from there??

 
andybt
andybt's picture

Joined: 2004-12-03
Posts: 37
Posted: Tue, 2005-07-12 11:54

answering my last that didn't work either! Any more clues??

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-07-12 12:01

please pm me your url and g2 admin login info such that i can see it with my own eyes.
thanks

ps: what's the history of this g2? a fresh beta 3 install? or was it upgraded?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-07-12 12:23

i checked the gallery and everything is fine.

you have no view item permission on the top album.
so the consequence is, if a guest user browses to main.php g2 wants to show the top album but the guest user has no right to view it, thus g2 asks for login information.

if the guest user browses directly to main.php?g2_view=core:ShowItem&g2_itemId=3200 (the aviation album), then he can view it, because g2 wants to show this album and the user has permissions to view it.

what you could do:
- go to the top album and click edit permission
- uncheck the apply changes checkbox to only affect the top album
- add view item permission to everybody

hope that's what you wanted.

 
andybt
andybt's picture

Joined: 2004-12-03
Posts: 37
Posted: Tue, 2005-07-12 12:28

Right I think I've got that. I want a password on all the albums except the aviation one. I therefore need to create a new page on my website pointing directly to the aviation site and people will be able to see that album. Correct??

If so thanks for the quick response and help.

Andy

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-07-12 13:02

correct.

 
andybt
andybt's picture

Joined: 2004-12-03
Posts: 37
Posted: Tue, 2005-07-12 13:04

Thanks for that got it working now. Much aoppreciated with the help.

Andy

 
LadensIII

Joined: 2005-07-13
Posts: 41
Posted: Sat, 2005-07-16 00:40

I want to make an album private too.
I cannot find how to password protect the important album.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-07-16 01:21

go to your album, click on "edit permissions" and remove the view permissions from the everybody group.

if you want password protected albums which is an alternative concept to user accounts, then you'll have to wait until fall 2005 or so.