Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: update fr 6.2.ga6 CE t 7.1.0CE guest user not view journal contentBuon
Hi All,
after upgrade from 6.2.ga6 to 7.1.0 ga1 the guest user not view the journal content from site's page.
With admin login the journal content is visible.
Not error log after upgrade.
My portlet changed for liferay 7.1 working fine with both guest and admin user.
I've make upgrade with tree steps.
1. from 6.2.ga6 to 7.0 ga7 and next to 7.1 ga1. in th 7.0 ga7 the journal content work fine.
2. Directly from 6.2.ga6 to 7.1 ga1 same problem.
3. with snapshot version from https://releases.liferay.com/portal/snapshot-7.1.x/latest/ same problem.
Can you help me?
Thank you.
Hi Michele,
Up to Liferay Portal 7.0 version, webcontent view permissions weren't checked for any user: In case somebody wanted to remove VIEW access to a specific article, that was not possible.
That behavior could be changed in System Settings > Web Experience > Web Content => "Article view permissions check enabled", in order to force that permission validation for every user.
As this behavior was very odd for most of the users, you always expect permissions to be checked, since Liferay Portal 7.1 version, permissions are always checked, see LPS-73847
In order to solve your issue, you have two options:
- Option 1: go to your webcontents and edit their permissions: add VIEW permission to guest user
- Option 2: go to settings configuration and revert 7.1 version behavior, go to: System Settings > Web Experience > Web Content and uncheck "Article view permissions check enabled" for more information see LPS-73847
My advice is to go for the option 1, as sooner or later option 2 settings could be deprecated.
Regards,
Jorge Díaz
Jorge Díaz:Hi Michele,
Up to Liferay Portal 7.0 version, webcontent view permissions weren't checked for any user: In case somebody wanted to remove VIEW access to a specific article, that was not possible.
That behavior could be changed in System Settings > Web Experience > Web Content => "Article view permissions check enabled", in order to force that permission validation for every user.
As this behavior was very odd for most of the users, you always expect permissions to be checked, since Liferay Portal 7.1 version, permissions are always checked, see LPS-73847
In order to solve your issue, you have two options:
- Option 1: go to your webcontents and edit their permissions: add VIEW permission to guest user
- Option 2: go to settings configuration and revert 7.1 version behavior, go to: System Settings > Web Experience > Web Content and uncheck "Article view permissions check enabled" for more information see LPS-73847
My advice is to go for the option 1, as sooner or later option 2 settings could be deprecated.
Regards,
Jorge Díaz
Hi Jorge,
thank you for your reply,
I have tried the Option 1 and Option 2.
With option 2 all work fine. But i do not like deprecated option.
With option 1 not work fine.
The user already have a VIEW permission.
Based on your reply I'have enabled in the Guest role the "WEB CONTENT FOLDER" to ACCESS and all working fine.
Thank you Jorge
Gary SincickI'm upgrading from Liferay 6.2 GA6 to 7.1 GA3, and I'm having the same problem. The web content all has the Guest 'view' permission checked, but nothing is visible to unathenticated users. I *have* to uncheck the "Article view permissions check enabled" setting in order to make web content visible. This happens not only with migrated articles, but with newly created articles as well. This seems like a significant problem. Is there any further information about this?
I Gary,
It seems that the root folder of the web content is not readable by guest. I solved by bringing the articles into home in a folder with the permissions of viewing by guests. I've setting the permission of article to VIEW by guest user. For All folder with guest web content I've setted VIEW to guest permission.


Powered by Liferay™