how to restrict viewing CCK nodes to a role?
enky - January 27, 2007 - 06:57
hi,
i have a cck node type 'paper', users can submit papers, and, only the 'teacher' role should see the paper nodes.
but, currenly cck has permission for create, edit and edit own nodes only.
so, how to how to restrict viewing CCK nodes to a role?
thanks
enky

Theme the content type
One way is to theme the content type where different role get to see different message. Contemplate module may help.
Try out the CCK Field Permissions module
Check this out: http://drupal.org/project/cck_field_perms
it seems 'cck field
it seems 'cck field permissions' module can't control access permissions to title and body field.
other fields are controlled.
using the nodetemplate, i can control all the fields, except the title.
is there any other way to hide cck nodes from a role ?
enky
...
How about issue a feature request to the cck module developers?
issue submitted,
issue submitted, http://drupal.org/node/113291
so, how to how to restrict
Submit all of these types of nodes to one taxonomy term and then you can use taxonomy_access controls.
there are other ways you could control access as well, having a look at the access modules may prove fruitful.