Hi there,
I'm a long-time zenphoto user. But there is something I wonder about: Is there any possibility to use zenphoto together with user groups, e.g. one group for "family" and another group for "friends" and give them individual access on a per-album basis?
Comments
Note of course, that User assignment to albums is only at the root album level.
I'm trying to get a setup like the OP describes. Fresh install of ZP 1.4.0.2 running on latest WAMP. user_groups plugin enabled.
Made two root album and two groups based on the "album managers" template. Assigned one root album to each group. Then users have been assigned one of those two groups.
Now users can't login, just gets straight back to the login box after clicking the login button (entering wrong password give normal error message).
If I enable "View Gallery" for a group, then users are able to login, but can then of course view both root albums.
Any advice getting this to work?
Thanks:)
My understanding is that it's the group membership that take care of this, so I thought that as long as I assign a user to a group with album rights the user will have access to the album? Not correct?
However, User1 also sees all the other root albums.
Is it possible to prevent that? So just the root album(s) the user has access to are displayed?
Thanks.
Here's how the group is defined.
Group: Group1
Rights:
Albums
View fullimage Upload Albums
Gallery
View Gallery Post comments Comments Themes
General
Overview
Assign users
User1
Managed albums (1)
Album1
Are the other root albums "public"? Anyone can view pubilc album.
All root albums are "private".
Again, rights seems to be set correct. User1 only have access to Album1. User1 still see all root album, but can only access Album1. I'd like User1 to only see Album1 on the main page of the gallery.
be sure you have verified the rights. For instance, the reason I asked about album rights is that it is impossible for there to be a managed album and that right not to be set. Yet you did not mention it. So also maybe you mised the view albums right?
Are you running the static cache html plugin? If so it will cache pages from one user and then redisplay them for any viewer.
The group is defined as I posted above. Any changes I need to do for the group?
"View albums" isn't checked and if it's checked User1 can access all albums (as expected, so unchecked that right again).
Not running static cache html plugin.
Again, with the group defined as posted earlier, User1 have access only to Album1.
However, after login to main gallery page, User1 also sees the thumbnails for the other albums, but clicking on any of those, User1 don't have access and a login box is displayed.
So only (minor) issue is that User1 sees thumbnails of all albums, not just the one that the user manages and have access to.
Since you're not able to reproduce this, does that mean you've setup a group defined as mine above? And users assigned to that group only see the thumbnail of the album they manage on the main gallery page?
I'd also be thankfull if such a feature would be implemented in a later version of ZP.
Since assignment to albums are given at root album level, at least for our gallery, the main page becomes a bit messy due to several different groups sharing the same gallery.
If you want to protect albums for the public / other users you have to set passwords for them as well. In that case only the logged in user that has rights to that album should be able to see it.
I am sure sbillard will respond later, too.
Just tried, and they show up, so thanks, works now.