[v4.0] Portlet Blacklists

Jamela Black edited this page Aug 2, 2014 · 1 revision
Clone this wiki locally

Portlet Blacklists

Portlets can be blacklisted so that new instances cannot be created. This can be used to turn off some portlets for security, convience or otherwise. By default, the following portlet types are blacklisted (as 'deprecated').

  • LoginPortlet (:login_portlet)
  • DynamicPortlet (:dynamic_portlet)
  • ForgotPasswordPortlet (:forgot_password_portlet)

Modifying the blacklist

# Prevention creation
config.cms.content_types.blacklist += [:email_page_portlet]

# Allowing creation
config.cms.content_types.blacklist -= [:login_portlet]