Message Boards

You do not have the roles required to access this portlet liferay 7.2

thumbnail
harika suram, modified 3 Years ago.

You do not have the roles required to access this portlet liferay 7.2

New Member Posts: 16 Join Date: 11/16/08 Recent Posts
I am working on a portlet application using liferay 7.2 version.
Developed a simple test portlet and it deployed well and able to see the result portlet.
All of sudden, I got:

"You do not have the roles required to access this portlet. "

It shows in a window without any tools on the upper right corner. No sign in link.
Please do needful. Unable to proceed further.

Thanks in advance for any help!
thumbnail
Olaf Kock, modified 3 Years ago.

RE: You do not have the roles required to access this portlet liferay 7.2

Liferay Legend Posts: 6396 Join Date: 9/23/08 Recent Posts
harika suram:

Developed a simple test portlet and it deployed well and able to see the result portlet.
All of sudden, I got:...

Anything in the logs?
thumbnail
harika suram, modified 3 Years ago.

RE: You do not have the roles required to access this portlet liferay 7.2

New Member Posts: 16 Join Date: 11/16/08 Recent Posts
Nothing sir.
thumbnail
Christoph Rabel, modified 3 Years ago.

RE: You do not have the roles required to access this portlet liferay 7.2

Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts
Does it still happen if you undeploy your portlet?
Can you still login by accessing /c/portal/login? If so, can you check the permission on these portlets? What does you portlet do? Does it do something with permissions?
Maybe some modules got stopped? You could check this maybe in the logfiles ore by enabling gogo shell and connecting to it with telnet. Then check with lb, if any modules are stopped.
thumbnail
harika suram, modified 3 Years ago.

RE: You do not have the roles required to access this portlet liferay 7.2

New Member Posts: 16 Join Date: 11/16/08 Recent Posts
Firstly Thank you so much  Christoph Rabel. I am able to login with c/portal/login. After logged in there is no such error .After refreshing i can see the Home and Sign in links now.
And i am not really sure  about the reason for the error., as i am unable to check logs as i could not able  to reproduce the error now.There is nothing added from my end in the portlet i have created.  Just created new liferay module project and deployed.For the first time i did not see any error, it happened after a while , but no code added to the module. its completely new.
And the  liferay workspace, server, module all for the first time. 
shams meha, modified 3 Years ago.

RE: You do not have the roles required to access this portlet liferay 7.2

New Member Post: 1 Join Date: 5/7/20 Recent Posts
istings do not use page numbers because their content changes so frequently. Instead, they allow you to view slices of the underlying data. Listing JSON responses contain 
after
 and 
before
 fields which are equivalent to the "next" and "prev" buttons on the site and in combination
Regards, https://mcdvoicesurvey.onl/ https://mybk-experience.onl/