Page 1 of 1

Phoca gallery plugin and user category access

Posted: 14 Sep 2023, 08:58
by tanyat1965
I 'm trying to use Phoca gallery plugin to show users their photo. User must see his own photo, not the other users. I make modules and use {phocagallery view=category|categoryid=1053} every user has access only to his own category. But when users login he see not only his photos but other users too... Module has accssess foe registered? but category has access only for definite user.... Any help will be appreciated.

Re: Phoca gallery plugin and user category access

Posted: 16 Sep 2023, 15:40
by Jan
Hi, if you are using plugins, such are displayed inside articles and there the article permissions (user rights) are valid, not the rights from plugins. To have fully rights managment for the gallery, you need to use component.

Jan

Re: Phoca gallery plugin and user category access

Posted: 17 Sep 2023, 01:11
by tanyat1965
Thank you Jan. I use component and assign every category its own user. Cat1 (id 1055): access->registrated and access right ->user1 (for example). Cat2 (id 1054): access->registrated and access right ->user2. After it I create using phoca gallery plugin module1 -> {phocagallery view=category|id=1055} and module2 {phocagallery view=category|id=1054} (access - registrated for both module). If I login as user1 I see photos for user1 and user 2....although I need to see only photos for user1. Can't understand what's wrong...

Re: Phoca gallery plugin and user category access

Posted: 18 Sep 2023, 15:48
by Jan
Hi, as I wrote above, the access does not work for items in plugin code, because on such site the access rights are managed by the article not by the plugins inside the article.

Jan