[eluser]Unknown[/eluser]
I'm fairly new to MVC in general, and I've run into a problem:
I'm re-coding a website. We have always had admin functions built-in to regular page views.
For instance, perhaps there is an image or blog post displayed with a title and caption. Admin-level users will have an option displayed to edit the title/caption, and perhaps delete the entire image/post. Regular users will have the image, title and caption displayed, but without an option to edit them.
Hopefully I'm not a dunce, but I can't figure a way to retain this functionality without putting the logic directly into the view. I'd rather not, if there's a better option, so I appeal to the experts.
I'm also not totally opposed to removing the functionality and replacing it with a better system, however the site has thousands of moderated objects and I think it's likely the best system for our particular website.