LPS-46686 Creates the permission url only when is needed