Fixes #30921 - enable authorized link_to from engines
Engines with isolated namespace can't use hash to get rout of another namespace. Enable link_to_if_authorized use the url_for directly on the required engine to support usage from plugins using isolated namespaces.
Related issues
Feature #30921: Enable link_to_if_authorized calls from isolated engines
Fixes #30921 - enable authorized link_to from engines
Engines with isolated namespace can't use hash to get rout of another namespace.
Enable link_to_if_authorized use the url_for directly on the required engine
to support usage from plugins using isolated namespaces.