Monday 4 November 2013

Some helpful portal.properties

Hi All,

 Some times you want to achieve something,and you spent lot of time in finding its solution.

 There are some things that can be easily achievable if you have better knowledge of portal.properties.

  One such property is : 'layout.show.portlet.access.denied'

    # Set this to true if users are shown that they do not have access to a
    # portlet. The portlet init parameter "show-portlet-access-denied" will
    # override this setting.
    #
    layout.show.portlet.access.denied=true

When user don't have roles to access particular portlet,it shows error message. So If you want to completely hide portlet from user you can set this property to "false" in portal-ext.properties.


Regards,
Dhrutika

No comments:

Post a Comment