Reputation:
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.
Upvotes: 0
Views: 483
Reputation: 2860
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.
Upvotes: 0
Reputation: 7415
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.
Upvotes: 1