In looking at samples of ASP.NET MVC sites, I\'m seeing quite a bit of examples with embedded logic in the views, e.g.:
<% if (customerIsAllowed) { %&g
if the logic pertains to the format of the view, and does not result in changes to entities or data, then I think it is OK in the view.