liferayportletliferay-6

Liferay - Cannot access Look and Feel


Using Liferay 6.1 CE GA 2 I have added portlet to page. Recently I have faced the following issue:

When I click on Options > Look and Feel I receive "You do not have the roles required to access this portlet."

But I am using admin account, how can that be? Let me know if there are any ideas.


Solution

  • This is an old issue but I thought this answer might help others as it was a pain to figure out. I had this exact same issue and found it was caused by changing the value of the portlet.add.default.resource.check.whitelist property in portal-ext.properties. Somehow modifying this list made it so that I couldn't access the Look and Feel menu of any portlet, I always got the "You do not have the roles required to access this portlet" error. Upon commenting out the portlet.add.default.resource.check.whitelist property I was able to once again access the Look and Feel menu. I have a embedded portlets in my theme that need to be on this whitelist so I was worried that the Look and Feel menu would be broken if I added the property back, but apparently Liferay was just caching invalid permissions and removing the property cleared them because I was able to add the property back and restart the server and everything worked fine.