By finex on
Someone knows how to set the nodes of a specific content type visible only for the node owner and eventually for a specific user role? I've tried the "private" module, but it doesn't work with taxonomy access control enabled.
thanks!
Comments
I use
I use http://drupal.org/project/node_privacy_byrole - I don't know how it interacts with taxonomy access control though.
It's only for 4.x, I'm using
It's only for 4.x, I'm using 5.x. But I should try to check the code.. thanks.
--
by FiNeX
FiNeX.org
Siti Web Vicenza
Sorry - I hadn't noticed
Sorry - I hadn't noticed there's still not an official 5.x version
I'm using Drupal 5.1 and the HEAD version of this module without any problems. HEAD version is here: http://drupal.org/node/106122
I've partially resolved my
I've partially resolved my problem. 'Resolved' because now drupal do what I want, 'partially' because I've added some code to the node.module, so, when I'll upgrade drupal, I'll need to repatch the module. I've added some code to the "node_content_access()" and two perms on the "node_perm()":
On the node_perm()
On the node_content_access() i've append after the existing code:
Is it possible to write a module for this code?
--
by FiNeX
FiNeX.org
Siti Web Vicenza
too many returns :) little
too many returns :) little modification