I have a situation where a controller action should result in the information about a given object being displayed differently depending on the user's permission on the object.
Currently the controller action code returns one of two views accordingly: Info.ascx
or Info_ViewOnly.ascx
.
As the differences between these two views are very minor (and I have just had to update each with a format change) I am considering having one view (Info.ascx) and passing the user's permission to the view using the View's Model.
Which approach would you consider preferable? Alternative suggestions also welcome :-)