How can I hide the taxonomy field for authenticated users but show it for other users in Drupal 6?

Posted by Jaymie on Stack Overflow See other posts from Stack Overflow or by Jaymie
Published on 2010-06-07T23:42:57Z Indexed on 2010/06/07 23:52 UTC
Read the original article Hit count: 304

I have a Drupal (v6.17) Content Type which includes a Taxonomy field. I want to hide this from ordinary Authenticated Users, but want it available to my Site Contributor role users, so they can review and then assign tags to user-created nodes.

I've tried overriding the Node Add/Edit form in Panels 3 by creating a panel variant especially for Authenticated Users, which would exclude the Taxonomy field. However, the Taxonomy field is bundled in with the "General Form" controls - without showing this, I don't get the Title and Body fields.

Is there a way I can either include the Title and Body fields without Taxonomy, OR hide just the Taxonomy field when the authenticated user role creates a node.

I realise there's a CCK field which might be able to help me out here, but how do I tie that to the Taxonomy module?

Any help gratefully received.

© Stack Overflow or respective owner

Related posts about drupal-6

Related posts about tags