Show/hide terms per role

nk_ - February 23, 2009 - 13:25
Project:Taxonomy Role
Version:6.x-1.0-beta1
Component:Code
Category:feature request
Priority:minor
Assigned:Unassigned
Status:needs review
Description

Hello,

first thanks for this module !
I would like to ask you to review and test this patch which adds ability to show/hide terms of certain vocabulary on node displays per role.
When I first time found this module I thought that it does exactly that, as per its name it seemed like logical...
On the other hand I use main functionality of this module and that fits perfect for me (as for other users too :) but in the meantime I couldn't find
existing module which restricts display of certain terms by role. Anyway, if there is such module, IMHO it would be much better to have those functions in one rather than in 2 separate modules.
Please see this issue, it's how I came to this idea:
http://drupal.org/node/367693

I find this patch/usability quite handy, please let me know your thoughts.
Thanks & Best,
Nenad

AttachmentSize
taxonomy_role_display.patch1.8 KB

#1

Stephen Scholtz - April 17, 2009 - 18:51

Hey nk_,

Your patch seems to go into the code fine for me, although I'm not sure what it was supposed to do? I understand it's supposed to hide terms from a vocabulary that someone doesn't have access to, but where does this kick in? When rendering the link list of vocabulary terms for a node? In the admin interface? I tried not allowing anybody access to "view" a couple of vocabularies, but the links still showed up in my content and I was still able to get to the vocabulary page.

Am I missing something?

Thanks!
Stephen

 
 

Drupal is a registered trademark of Dries Buytaert.