Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In response to a previous bug report, you added an access callback to the menu hook. http://drupal.org/node/291665
Function _taxonomy_delegate_access checks access via _taxonomy_delegate_my_vocabularies. You could save on a database hit if the user doesn't have any roles, i.e. is logged out - return an empty array from _taxonomy_delegate_my_vocabularies.
...
foreach ($user->roles as $rid => $name) {
$list[] = $rid;
}
if (0 == count($list)) {
return array();
}
...
P.S. Many thanks for the module - I've found it essential to devolve access control when a large site is organised via TAC.
Comments
Comment #1
NancyDruCommitted to 6.x-1.x-dev