[dev] [cvs] commit: ansel/lib/Block gallery.php random_photo.php

Chuck Hagenbuch chuck at horde.org
Wed Mar 19 01:01:17 UTC 2008


Quoting Michael Rubinsky <mrubinsk at horde.org>:

> Yea, I did actually play with combining this with general permission
> checking (especially since we also want to add password protected
> galleries as well), but kept coming back to the problem that we want
> the galleries returned in a search so the user can see that there *is*
> a gallery, we just need to decide what thumbnail to display based on
> the age check. I moved the age check method to the gallery to at least
> keep it cleaner.

If the user otherwise has permissions for the gallery, then they  
should be limited to the SHOW permission - "show the object exists" -  
and we should honor that.

-chuck


More information about the dev mailing list