Project:Taxonomy Access Control Lite
Version:6.x-1.4-rc3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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:

<?php


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

#1

TAC 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.

nobody click here