[dev] Ansel Tags
Chuck Hagenbuch
chuck at horde.org
Sat May 12 00:45:49 UTC 2007
Quoting Michael Rubinsky <mike at theupstairsroom.com>:
> 1) Currently, when "browsing" tags, matching images/galleries with
> at least PERMS_SHOW from all users are returned. My original idea
> was to filter it by user depenging on how one arrived at the
> results page. For instance - if you were browsing a gallery ownded
> by user "mike", then select a tag to browse, you will initially be
> shown only results owned by "mike" (with appropriate permissions,
> of course). There would be a link to show results by all users on
> the results page. If you arrived at the results page via the (as
> yet non-existent) browse page, you would be shown results from all
> users, unless otherwise selected from the browse page. Does this
> sound reasonable to everyone?
That sounds reasonable for now. I'll need to use it a bunch more to
see what feels natural.
> 2) The only 'gotcha' that I have come across is the generation of
> the related tags used when tag browsing. Currently, the query is
> oblivious to image ownership and permissions...what this means is
> that it is *possible* the user may be shown a tag that only exists
> on image(s) that they cannot see - if that image is also tagged
> with tag(s) the user is browsing.
Hmm, but if the user is looking at the image already, they can see it,
so there has to be at least one image with that tag that they can see.
Right? Slightly tricky to think about...
-chuck
More information about the dev
mailing list