Moshe comments that fixing the hiding of taxonomy terms themselves is not going to be easy. In my installation it doesn't work but I'm not running that latest and greatest CVS. The discussion http://drupal.org/node/9746 was enlightening background. Moshe's comment is at the very bottom of the page.

I bet this is actually a bug with taxonomy.module but I don't want this issue to get lost. I also didn't see an appropriate other project name. I am thinking that adding the code to the taxonomy.patch here makes sense. If my assumption is wrong, please move this to the correct project. Once I get my CVS account I may hack on this.

Comments

pyromanfo’s picture

This really should be in reply to tthe other two issues already active on the subject.

No it's not hard for taxonomy_access, because I simply patch taxonomy.module to make sure that the taxonomy can't be accessed for those without permission.

pyromanfo’s picture

pyromanfo’s picture

Let me add a little more detail here.

Basically I patch taxonomy.module so that whenever a module calls one of the various "taxonomy_get_X" functions it only shows them what the current user has access for. From what I can tell, it works very well.

That discussion was before this module existed, so it's really talking about something else. They're talking about using node_access to hide taxonomies. That's pretty much impossible. I actually have added seperate taxonomy_access functions in addition to the node_access stuff with this module.

grantbow@civicspacelabs.org’s picture

Thanks for your patience and comments, this will go a long way toward my understanding of how this works.