Hi.
I would like to perform a dynamic page restriction that would check for a permission according to the url. Using pages.xml, it would be something like that:
<page view-id="/modules/the_permission_I_want_to_check/*"> <restrict> #{s:hasPermission(the_permission_I_want_to_check,'view')} </restrict> </page>
What would be the best way to do it?