Permissions on CCK node fields

I put together a quick module to allow admins to restrict some CCK fields based on user roles. You can check it out here:

http://cvs.drupal.org/viewcvs/drupal/contributions/modules/cck_field_perms/cck_field_perms.module?rev=1.2&view=markup

update: This is a real module now, see: http://drupal.org/project/cck_field_perms

update Note that this has been incorporated into CCK and is no longer needed.

Hi. By coincidence, I worked

Hi. By coincidence, I worked on this same cck perms functionality yesterday. Fortunately, I worked on the improvements to Views so it could respect cck fields perms. See . I didn't work on the part that you did.

I'd love to improve your 4.7 code if you will give me access, or will accept patches. But really, i want to write a 5.0 version which restricts field for viewing cck nodes. Should be easy because of the structured array node rendering in 5.0. Let me know how you want to work together on this.

http://drupal.org/node/110382