Message Boards

Public and Private pages

scott E mitchell, modified 7 Years ago.

Public and Private pages

Junior Member Posts: 41 Join Date: 10/1/16 Recent Posts
We have a public facing site open to the world to access.

We also provide capability for users to login to the site. Once they login as a registered user for the Liferay portal we want them to see some additional pages that were not available prior to login such as a Support Page and My Folder page where they can create a support ticket or upload secured content to their personal folder.

Please advise on how certain private pages can be hidden until a user authenticates as a registered user of the site.
thumbnail
David H Nebinger, modified 7 Years ago.

RE: Public and Private pages

Liferay Legend Posts: 14916 Join Date: 9/2/06 Recent Posts
Just remove guest view access at the page level; those only users can see.
scott E mitchell, modified 7 Years ago.

RE: Public and Private pages

Junior Member Posts: 41 Join Date: 10/1/16 Recent Posts
Hey David - thanks for your reply. My development team has tried this approach but it seems that we have a more complicated scenario due to the CAS SSO that we have implemented. It appears that since we are using CAS for SSO we are not able to see the Liferay roles once a user is authenticated. I may not be stating this 100% correctly but I would be very interested in finding someone who has the knowledge and experience that could help us resolve this challenge by providing advisory services in Liferay 7. If anyone would be interested in helping my team of developers with our Liferay 7 initiative please either respond to this thread or email me directly at scott.mitchell@dwapplications.com. We can discuss the details of the challenges we are facing come to an agreement on hourly rate.

Thanks
Scott
thumbnail
David H Nebinger, modified 7 Years ago.

RE: Public and Private pages

Liferay Legend Posts: 14916 Join Date: 9/2/06 Recent Posts
While CAS and roles might be related, they are also separate.

CAS affects user sign on and will automagically get them logged into the system. During the LDAP import (if you're connected), roles may be assigned based on LDAP group membership.

While navigating the portal, the user will have access to pages/portlets/etc based upon their role assignments. Nothing really to do with sign on, just what roles the user has.

So while these are related, they are separate. Your CAS implementation might be pulling in and assigning more roles than you'd like, but that's not going to be some sort of OOTB cause and effect.
scott E mitchell, modified 7 Years ago.

RE: Public and Private pages

Junior Member Posts: 41 Join Date: 10/1/16 Recent Posts
Actually we are implementing the sso cas configuration and while landing to the home page of LF7 the respective control panel get diappear my concern is how to get those control panel after login LF7 with sso cas.is there role required for that because while implementing sso cas basically we are getting those user from User_ liferay database table so please reply if any idea regarding this ...TIA
thumbnail
Ketan Savaliya, modified 7 Years ago.

RE: Public and Private pages

Regular Member Posts: 117 Join Date: 3/3/11 Recent Posts
scott E mitchell:
We have a public facing site open to the world to access.

We also provide capability for users to login to the site. Once they login as a registered user for the Liferay portal we want them to see some additional pages that were not available prior to login such as a Support Page and My Folder page where they can create a support ticket or upload secured content to their personal folder.

Please advise on how certain private pages can be hidden until a user authenticates as a registered user of the site.


There is 2 ways to do this....
1) First you need to create all pages login as administrator. Then you can go to particulate page(s) permission section and remove guest user view permission to page(s) that you don't want to show guest user(user without login). this activity should done by admin user only.
Then try and check how many pages are display for without login and with login.

2) You can create restricted pages as private page of particulate site. So, this private pages can access by only member of the sites. you need assign this perticuler site to perticuler user(s) to whom you need to access this private pages. so that specific user can see those pages after login.

you can do either of the way!!

HTH!!

Regards,
Ketan Savaliya