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

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

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options