Pages

Thursday, 12 April 2012

Removing Portlet Permission Error Message and portlet invenciable

Removing Portlet Permission Error Message

If any user don’t have permission to access a portlet, Liferay Portal display the following permission error message “you don’t have required permission to access this portlet”.


Instead of displaying the error message we can make that portlet invisible for that particular user by setting the following property in portal-ext.properties file –

   layout.show.portlet.access.denied=false

No comments:

Post a Comment