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

Comments

chelahmy’s picture

One way is to theme the content type where different role get to see different message. Contemplate module may help.

tdimg’s picture

enky’s picture

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

chelahmy’s picture

How about issue a feature request to the cck module developers?

enky’s picture

vm’s picture

so, how to how to restrict viewing CCK nodes to a role?

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.