Hi,
Alltough I'm newly registered, I've been using zenphoto and reading the forum for some time now. And i really love your software.
I'm using zenphoto 1.4.2-Dev at the moment, but the following problem also occurs in 1.4.1.4
I configured a gallery to be private. (So only registered users have access.)
Normal users (loged in, but without admin rights) now have the problem that they can't view any albums, that are not specifically assigned to them in the 'managed albums'-part of the rights section.
If they click a link to view the album in the menu, they are redirected to the login-page.
As I'm using the Zenpage-Theme the same occurs for Pages and News.
If a User is assigned the 'View Albums', 'View News' or 'View Pages' - Rights the gallery is working but also unpublished-Items are shown.
Is this behaviour intended or is it a bug?
I was able to track the problem back and wrote a little plugin that hooks to `isMyItemToView`-Filter in `checkAccess()` of template-functions.php
It's allmost a copy of the original function and just also grants access if e.g. `$_zp_current_album->getShow()` is true.
This workaround is certainly not the cleanest solution, but it partly fixes the problem for me.
only partly because:
The news section is still not working as it has other security checks inside, which I didn't find a workaround without modifying the core itself.