tags:

views:

94

answers:

2

I want to allow only one type of user to access a certain content type. It's simple and I've done it before, but today I can't figure it out.

+1  A: 

Generally this requires an access control module like Node Access. Using a module like that, you can completely hide certain kinds of content from users who aren't allowed to view them.

Eaton
Thanks, but I think there is a simpler way. I did it before without node access. I am basically trying to hide a page from some users
Sorry, but Eaton is correct - the proper way to restrict users' access to content is to use roles and access control. To map access control to particular content types, use the "Taxonomy Access Control Lite" module.
Mike Heinz
A: 

If you mean "read" access, you'll indeed need some form of access control module, as Eaton suggested. OG, for instance, is one access control module although quite often people don't think of it that way due to its other features.

If you mean edit/delete access, OTOH, you have these by node type vs role at admin/user/permissions.

And, of course, if you only want to hide nodes from non-admins, you can just unpublish them: only admins will see them.

FGM

related questions