Search module problem with permission

Peter Meyer

Joined: 2009-09-18
Posts: 1
Posted: Fri, 2009-09-18 09:30

We use gallery3 for an internal gallery where no album can be viewed by "everybody" or "registered users" but only by new usergroups.
Now the search module doesn't work for users who are not Admin.
I tested different permission configurations. It turns out that only pictures in albums which can be viewed by "everybody" are found by the search.

I read about the problem in this thread: http://gallery.menalto.com/node/90554 but there is no solution for it.

Has anyone an idea what can be done?

Thanks in advance,

Peter

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Sat, 2009-09-19 05:28

Please create a ticket:
https://sourceforge.net/apps/trac/gallery/newticket
You will need to sign-up for a SF account (free).
It might be a performance issue to check the permissions on each item search word.
A similar issue with tags:
http://sourceforge.net/apps/trac/gallery/ticket/457

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-09-24 17:41

I did some testing. If you simply remove the Everybody group from being able to view and requiring people to log in, the search results are empty

ticket filed:
https://sourceforge.net/apps/trac/gallery/ticket/805

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Sat, 2009-10-24 23:17

and fixed

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team