Hi,

How is it possible to restrict the content to/with roles
I mean, for exemple :
- a book is only visible by the X role
- a book is only visible by the Y role
- a page is only visible by the X and Z roles
and so...

Comments

ramesh@drupal.org’s picture

Hi,

i am not sure but this may help you
go to Home › Administer › User management > Access control and set the permissions

Thanks
Drupal Expert

mrbert’s picture

Yet another node access module.
So this module allows you to manage permissions for content types by role and author. It allows
you to specifiy custom view, edit and delete permissions for each content type. Optionally you
can also enable per node access settings, so you can customize the access for each node.

In particular

* it comes with sensible defaults, so you need not configure anything and everything stays working
* it is as flexible as you want. It can work with per content type settings, per node settings as well as with flexible Access Control Lists.
* it trys to reuse existing functionality instead of reimplementing it. So one can install the ACL module and set per user access control settings per node.
* it optimizes the written node grants, so that only really necessary grants are written.

So the module is simple to use, but can be configured to provide really fine-grained permissions!

http://drupal.org/project/content_access

Griffonia | Voacanga Africana | http://www.voacanga-africana.com.gh/sheabutter/">Shea Butter

cedtech’s picture

Thanks a lot all for help but maybe i was not clear - sorry for my bad english - i guess my needs are more "node related" or perhaps "groups related"?
As far as i can see the content access module is made for content type settings related problems : "role X will only be able to write pages not stories" - am i right ?
What is search is "role X will be able to see node/3 but not node/5" and so. I guess that my request is very simple, but am i lost in Drupal functionnalities ?

markhope’s picture

I've not looked at it for a while but "Simple Access" has worked well for me in the past. When creating a node you can set which roles will get access.

I've not used "Content Access" but this also sounds like it does what you're asking:
"Optionally you can also enable per node access settings, so you can customize the access for each node"

M

fago’s picture

you could use my content access module.

nancydru’s picture