I currently utilize Drupal in house to develop intranet sites for my company. Most ( if not all ) of the work that I do is in php. I have been asked by several of my co-workers that they would like to have the ability to see my source code ( the "body" section of the edit node page ), however I'd like for them to not be able to edit it.

Anyone have any ideas on how I might achieve this? I've tried searching for this, but i can't seem to find the correct wording to locate the correct answer. Maybe it's not possible, or maybe it's easy to do and I'm just overlooking something.

Thanks!

Comments

jon nunan’s picture

Not exactly what you're after but the Revision Moderation module (http://drupal.org/project/revision_moderation) would allow them to view the edit page, but any messing around they did would not be made live without your approval.

Otherwise I suppose you could make a small module that adds a new local task, and in that tab you just render the source direct.