RE: update fr 6.2.ga6 CE t 7.1.0CE guest user not view journal contentBuon

Michele Stoduto, modified 6 Years ago. Junior Member Posts: 42 Join Date: 7/7/10 Recent Posts

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.

thumbnail
Jorge Díaz, modified 6 Years ago. Liferay Master Posts: 753 Join Date: 1/9/14 Recent Posts

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

Michele Stoduto, modified 6 Years ago. Junior Member Posts: 42 Join Date: 7/7/10 Recent Posts
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

 

 

 

 

 

 

 

 

 

 

thumbnail
Gary Sincick, modified 6 Years ago. New Member Posts: 11 Join Date: 12/26/12 Recent Posts
I'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?
Amos Fong, modified 6 Years ago. Junior Member Posts: 42 Join Date: 7/7/10 Recent Posts
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.

​​​​​​​
thumbnail
Amaury gz, modified 2 Years ago. New Member Posts: 2 Join Date: 5/9/20 Recent Posts
Hi, I had the same issue migrating from LP 6.2-ce-ga6 to LP CE 7.0-ga7 without problems, later to LP CE 7.2.1-ga2 with the Guest user unable to see the web content published, reading the previous answers about the home folder permissions, I note that actually, you can set the view permission of your home web content folder, there is an info icon next to the search bar, checking the view permission in the home folder for the Guest role solved my issue, hope it will be useful to someone else.
 

​​​​​​​