留言板

Asset Publisher Dynamic Filter - different results for Guest role

thumbnail
Atif Hussain,修改在9 年前。

Asset Publisher Dynamic Filter - different results for Guest role

Junior Member 帖子: 47 加入日期: 12-4-3 最近的帖子
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,修改在9 年前。

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

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
What do you mean by "showing incorrect" results?
Ivan Josa,修改在9 年前。

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

New Member 帖子: 10 加入日期: 14-2-12 最近的帖子
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,修改在9 年前。

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

New Member 帖子: 3 加入日期: 14-11-17 最近的帖子
I have the same problem. Did you fine a solution???
thumbnail
Juan Gonzalez,修改在9 年前。

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

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
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,修改在9 年前。

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

New Member 帖子: 3 加入日期: 14-11-17 最近的帖子
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,修改在7 年前。

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

Expert 帖子: 396 加入日期: 07-8-22 最近的帖子
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