I'd like to check whether the currently logged in user has permission to edit a particular taxonomy term or vocabulary via php. Without this module, I'd just have to use:
if (user_access('administer taxonomy')){
do_stuff();
}
How can I use TAC lite to determine whether the user has permissions to, for instance, Update Taxonomy term 24?
Thanks!
Comments
Comment #1
Dave Cohen commentedTAC Lite doesn't change who can administer taxonomy. It only change which nodes are visible, based on how the nodes are tagged.
So I don't think the code in your example needs to change at all.
Comment #2
damienmckennaThank you for your contribution to this module. Support for Drupal 6 ended a decade ago, so I'm closing out this issue.