Hi,
Just started Drupal-ing, and I have a quick question:

I want to create an item on the sidebar menu with which authenticated users can navigate, but which is invisible to anonymous users. I've checked in the Permissions section and the Menus section, but it seems like for anything relating to "Navigation," I don't have the option to give/deny permissions to different user types! Can someone tell me how to selectively give navigation permissions? (And if that's not possible, can someone tell me what other menu category I could use so that I *can* give selective permissions to authenticated v. anonymous users?)

Thanks much,
~Ethan

Comments

Anonymous’s picture

Hallo Ethan,

well if your item on the sidebar menu with which authenticated users can navigate is a block, then there is an easy way to hide it from certain roles (and therefore useres). You simply have to change the visibility of that block.

Log in as the site admin. Go to: administer -> site building -> blocks (http://yourdomain.cno/.../admin/build/block). Locate the block you want to hide from one of the regions (sidebar left / right) and choose configure. Now scroll down to Role specific visibility settings and choose the roles that will have access to that block. Hit Save Block and volia your done.

Attention: Hiding a block, does not automatically remove nodes from search index and results! To achive this you have to use one of Drupals access modules.

If you want to hide certain menu items from within a menu based on roles try the "Remove Non-viewable Menu Items" module for Drupal 5.x. Used in combination with a node access module (Module Category: User access/authentication ) you have a very powerful toolset to hide blocks, menues, certain node types, or nodes.

Access Modules I used:

Another interesting module is "Premium". It allows you to hide fulltext nodes from useres without access rights. But it won't not show a basic "access denied", no, it will give you the teaser of that node and below it display some text of choice.

I hope this will help you to get started.

With best regards,

Mike

phsphoenix’s picture

Downloaded Content Access, and it seems to work up to a point.

Is there any module that will disallow permission to view/access specific menu items without having to create entirely new blocks (with all the problems that seems to involve)?

Right now I'm finding it absolutely impossible to hide the "Create Content" menu from anonymous users (I can only hide the individual *types* of created content, so the menu is actually empty) while making it visible to authenticated users.