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
search plugin doesn't follow user access right
-
Urs
- Phoca Newbie

- Posts: 8
- Joined: 26 Aug 2010, 17:23
- Location: Switzerland
- Contact:
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: search plugin doesn't follow user access right
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
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
If you find Phoca extensions useful, please support the project