Page 1 of 1

search plugin doesn't follow user access right

Posted: 20 Sep 2010, 14:06
by Urs
Hi there,

I'm using phoca gallery's search plugin and it does a great job so far, but...
... unfortunately the plugin does not follow the defined user access right's, i.e. the plugin shows a category or photos in the category regardless of the user right's. The plugin does only check the access level but not the access rights. Result: Users see information for not allowed photos in the search results.

Any idea how to fix it?

Thank you for your help,
Urs

Re: search plugin doesn't follow user access right

Posted: 20 Sep 2010, 18:11
by Jan
Hi, I have seen the plugin and seems there is no checking the access right of the image and users.

The common access is checked there (for the category and the image - access of groups - public, registered, special), the publish and authorize is checked too.

So the code from other part of Phoca Gallery (e.g. category view) needs to be copied and customize the plugin (I am not creator of this plugin, so didn't know it is missing there :-( )

Added to feature request list.

Jan