So the site I operate using zenphoto has only 3 administrators. Due to the nature of the content (highly endangered species + their locations), we cannot open the site up to everyone. Thus we have a "gallery" level password.
We want to offer access to appropriate people by creating accounts for them but without any admin priviliges. But even when I uncheck all priviliges, these accounts are still able to view unpublished galleries. Is there a way to prevent this? What we want is for admin to see all content, and so called guest accounts to see only published content.
Is there a way to acheive this? I am very comfortable with php, mysql and coding but find it rather daunting to figure out which file and where to look under zp_core.
Essentially, I want to do:
If (admin)
show all
else
select zp_albums where show=1
Can someone offer some advice?
Comments
http://www.zenphoto.org/2008/07/an-overview-of-zenphoto-users/
When I re-check "view all", search works fine.
Is there a reason it's set up this way?
I did a little more sleuthing and here are what the "rights" look like under the zp_administrators folder.
For me (full admin privileges) my rights are: 78622
For a user with no "view all" option: 6
If I check view all, it goes to 14.
Is there something else I can do to figure this out? Like perhaps change the rights?
I really never pay attention to what the "values" of the rights are. These are defined by the lib-auth.php script.