Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
paurik bhavsar
Search portlet does not work when put web-content on HOME page
January 29, 2012 9:34 PM
Answer

paurik bhavsar

Rank: New Member

Posts: 21

Join Date: April 22, 2011

Recent Posts

Hi Friends,

I created one web-content at my home page.
Now I am log in as normal-user(power user).
Now when I try to search in search portlet, It gives me error like this (You do not have the roles required to access this portlet).
I give the permission to power-user to view the web-content. but still this error is coming.
Archi Madhu
RE: Search portlet does not work when put web-content on HOME page
January 30, 2012 1:17 AM
Answer

Archi Madhu

Rank: Regular Member

Posts: 240

Join Date: March 24, 2008

Recent Posts

Hello,

Make sure web content is not expired and user has permission to view home page.

-Archi
paurik bhavsar
RE: Search portlet does not work when put web-content on HOME page
January 30, 2012 1:49 AM
Answer

paurik bhavsar

Rank: New Member

Posts: 21

Join Date: April 22, 2011

Recent Posts

Hi Archi,
Thanks for giving reply but I selected never auto expire option for web-content and also checked permission for user,power user of home page.
I gave all permission to user and power user of home page. but still this problem coming.
Oliver Bayer
RE: Search portlet does not work when put web-content on HOME page
January 30, 2012 2:07 AM
Answer

Oliver Bayer

Rank: Liferay Master

Posts: 875

Join Date: February 18, 2009

Recent Posts

Hi Paurik,

from your description I would guess that the search portlet doesn't have the appropriate permissions. In the control panel under plugin configuration you can set which roles can access each portlet so e.g. add the power user role to the search portlet.

HTH Oli
paurik bhavsar
RE: Search portlet does not work when put web-content on HOME page
January 30, 2012 10:40 PM
Answer

paurik bhavsar

Rank: New Member

Posts: 21

Join Date: April 22, 2011

Recent Posts

Hi Oliver

I show search portlet plugin configuration in control panel.
I see following permission there.
The users with the following roles can add this portlet the pages they manage:
Guest,Power User and User.
and also they can view rights.
This problems occurs only when I try search from home page where I put my web-content.
From other menu it search is working fine for user and power user.
There is something problem of web-content.