The CCK-Field-Permissions module lets you set this at the field-creation level, no embed code needed.<br><br>It also lets you specify View/Edit/Delete permissions for each field of a node.<br><br><a href="http://drupal.org/project/cck_field_perms">
http://drupal.org/project/cck_field_perms</a><br><br>- Ken Rickard<br>agentrickard<br><br><div><span class="gmail_quote">On 7/17/07, <b class="gmail_sendername">David McNab</b> <<a href="mailto:rebirth@orcon.net.nz">rebirth@orcon.net.nz
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Drupal devs,<br><br>In case there's anyone with a bit of spare time coming up, and open to
<br>ideas, I've had a thought for what could be (for some) a very useful<br>module.<br><br>The idea is to have parts of a node marked-up to be visible only to<br>certain roles.<br><br>This could be achieved with certain SGML-like markups in the node body.
<br><br>For a silly example:<br><br> <h3>Sale! All boots 35% off!</h3><br><br> <restrict role="retailer"><br> <p>We've picked up a big consignment of factory seconds from China.<br>
Faults are very minor, but we can't exactly charge full price for<br> them. Otherwise, they're nice lines, and you should turn them over<br> no problem. When you order stocks, please quote discount code<br>
#CNS4414</p><br> </restrict><br><br> <restrict role="admin"><br> <p>FFS Ian! Get off your butt and fix up those order screens!</p><br> </restrict><br><br> <restrict role="manager">
<br> <p>Sleep easy, Caitlin, we'll get 'em off your hands. You could<br> even come out a bit ahead.</p><br> </restrict><br><br> Grab them while they last from your nearest retail outlet, or
<br> <a href="order">order them online here</a>.<br><br>Thoughts?<br><br>Cheers<br>David<br><br>PS - My PHP is way rusty (switched to Python 5 years ago), and I'm just<br>starting to learn the Drupal API. Otherwise I'd have a go at it myself.
<br><br><br><br></blockquote></div><br>