Fórum

Asset Publisher Dynamic Filter - different results for Guest role

thumbnail
Atif Hussain, modificado 9 Anos atrás.

Asset Publisher Dynamic Filter - different results for Guest role

Junior Member Postagens: 47 Data de Entrada: 03/04/12 Postagens Recentes
Hi,
Asset Publisher is showing incorrect results for Guest role. Categories and tags filter do not work when logged out.
Any work arround for this problem

https://issues.liferay.com/browse/LPS-49061
thumbnail
Juan Gonzalez, modificado 9 Anos atrás.

RE: Asset Publisher Dynamic Filter - different results for Guest role

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
What do you mean by "showing incorrect" results?
Ivan Josa, modificado 9 Anos atrás.

RE: Asset Publisher Dynamic Filter - different results for Guest role

New Member Postagens: 10 Data de Entrada: 12/02/14 Postagens Recentes
Hi,
I've been facing the same issue.
In example, I have an asset publisher filtering by a tag. A logged user can see correctly the filtered results, but a Guest see all results (it ignores the tag filtering).

Anyone knows any workaround?

Thanks
thumbnail
Noemi Guerra, modificado 9 Anos atrás.

RE: Asset Publisher Dynamic Filter - different results for Guest role

New Member Postagens: 3 Data de Entrada: 17/11/14 Postagens Recentes
I have the same problem. Did you fine a solution???
thumbnail
Juan Gonzalez, modificado 9 Anos atrás.

RE: Asset Publisher Dynamic Filter - different results for Guest role

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
Is the same problem as this one?:

https://issues.liferay.com/browse/LPS-42908

In that case, you have to patch your Liferay source code using the github commits from that LPS.
thumbnail
Noemi Guerra, modificado 9 Anos atrás.

RE: Asset Publisher Dynamic Filter - different results for Guest role

New Member Postagens: 3 Data de Entrada: 17/11/14 Postagens Recentes
Juan Gonzalez:
Is the same problem as this one?:

https://issues.liferay.com/browse/LPS-42908

In that case, you have to patch your Liferay source code using the github commits from that LPS.


Thanks for the answer. It wasn't that case but i found the problem. In my case was the permissions of the Guest Role Over the tags. By default, Guest Role don't have view permission over tags, so if you try to filter usings tags, Liferay won't filter for Guest Role and will show all the contents. To solve the problem you have to activate the configuration of permission for tags, that is desactivate by default too. To do that, you have to add this lines

asset.tag.permissions.enabled=true
asset.tag.properties.enabled=true

to the file portal-ext.properties, that is in the tomcat root. It you don't have itm you create it with this two lines. Then you only have to go where the tags are define, you will find out that the are two new buttons, and give view permission for Guest Role for every tag you want to use to filter content.
thumbnail
Fernando Fernandez, modificado 7 Anos atrás.

RE: Asset Publisher Dynamic Filter - different results for Guest role

Expert Postagens: 396 Data de Entrada: 22/08/07 Postagens Recentes
Hi,

I had a similar problem in 6.2 CE GA6 but the symptoms were different. Since the tag had no permissions for Guest, the asset publisher was showing no content at all.

Problem solved with this solution.

Thanks

Fernando