function _taxonomy_resource_access in Services 6.3
1 string reference to '_taxonomy_resource_access'
- _taxonomy_resource_definition in resources/
taxonomy_resource.inc - @file Link general taxonomy functionalities to services module.
File
- resources/
taxonomy_resource.inc, line 597 - Link general taxonomy functionalities to services module.
Code
function _taxonomy_resource_access($op = 'view', $args = array()) {
if (user_access('administer taxonomy') || user_access('get taxonomy tree')) {
return TRUE;
}
// TODO - check perms of user to return ability to interact with terms / vocabulary
}