I'm wondering what would be the best way show different content (menus, nodes) to different users (admin, member, anonymous). Is there a recommended module that will accomplish this? I know that I can limit which user groups can see pages, or stories or other content types, but what I want to do is show some menu items to some users and some pages to some users and I'm not sure how to control this fine a grain of content in Drupal.

Comments

tdimg’s picture

The Content Access module (http://drupal.org/project/content_access) is your friend when it comes to implement a more fine grained permission system than Drupal core allows.

django6’s picture

Thanks, I think that's what I was looking for. Is this the best choice for this class of content access modules?

tdimg’s picture

what do you mean for this class of content access modules?

there are other content access modules, though this one is the only one I've used.

django6’s picture

Yes, I think there are others. I just went to the modules page and searched "content access" and came up with several. It's difficult to wade thru all of them and find what will work best for my situation and then until you use it, it's hard to tell if it's a quality module with minimal bugs. That is why I asked the question on the forum -- to get some suggestions with people who have first-hand experience.

I have the content access module installed and working. I like that it allows me to adjust access by content types and specific nodes. I don't like that I can't do the same with specific blocks or menus. It does nicely remove a menu item that links to a specific node that's hidden, but I'm not sure it will remove the menu block if all the links are hidden.

I was hoping to use this module to create a different home page presentation to anonymous users than everyone else. I'm not sure if it is capable of this. Any suggestions for accomplishing this?

tdimg’s picture

blocks
no need for any additional module there, you can set visibility by role for every block.

menus
maybe this module helps: http://drupal.org/project/menu_per_role

there are multiple ways of achieving what you want, i.e. a different home page for anonymous users but that's too much for me at the moment. I'm sure a google search would find you some tutorials and suggestions.

django6’s picture

Someone had already mentioned the block visibility and that is working well for me. There's also a taxonomy based access module that could be great for a site that has nodes that are all classified by taxonomy terms. This could be a lot easier to set up since all new content would be automatically put into different role visibilities based on how they are categorized.