Replace p:ifGranted, p:remoteUser and p:userPrincipal in EL
ProprietaryReplace the EL functions p:ifGranted(role), p:remoteUser() and p:userPrincipal(), which PrimeFaces 16 no longer declares, so a page using them fails, with the facesContext.externalContext calls they made. p:ifAllGranted, p:ifAnyGranted and p:ifNoneGranted have no such counterpart and are left alone.
io. moderne. java. primefaces. ReplaceRemovedSecurityFunctionsmod run . --recipe= io. moderne. java. primefaces. ReplaceRemovedSecurityFunctionsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.