propsUtil and portletConfig restricted by default in template engines

What:

propsUtil was added to the default restricted-variables list for FreeMarker and Velocity, blocking its use in restricted contexts like Web Content templates.

Why:

It exposed portal configuration (including sensitive data such as DB credentials) to template authors.

Who this affects:

Authors of restricted templates/ADTs that reference propsUtil or portletConfig. Register a GLOBAL TemplateContextContributor to expose specific properties, pass values via contextObjects/getCustomContextObjects(), or remove propsUtil from the restricted list in System Settings > Template Engines if you accept the exposure.