[development] different terms depending on $user data

Andrew Berry andrewberry at sentex.net
Wed Jun 24 01:54:59 UTC 2009


On 22-Jun-09, at 8:55 AM, Lluís wrote:

> I need groups of users sharing a taxonomy, but not terms; the group is
> defined depending on their user profile; so I have been able to write
> a module using hook_node_grants and hook_node_write_perms to separate
> their content; but now I need them able to categorize it.

The first half of this can be done with the term_permissions module I  
wrote to use with Simplenews. It can limit terms to those in a role  
(or by user), but doesn't handle newly created terms like what might  
occur with free tagging. Feel free to submit a patch :)

If you are pre-defining all of your terms, this might work for you as- 
is.

http://drupal.org/project/term_permissions

--Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2672 bytes
Desc: not available
URL: <http://lists.drupal.org/pipermail/development/attachments/20090623/5e9a3fde/attachment.bin>


More information about the development mailing list