After updating to Drupal 6.2, attempting to visit the Vocabulary Index settings page. It generates/logs and "Access denied" error, even 'though the same setup was working prior to the update (i.e., in Drupal 6.1).

Comments

xano’s picture

Hmm, weird. I know there's been an API change in Drupal 6.2, but I've checked the code and Vocabulary Index shouldn't be affected. Could you check the rights again, please?

ionuts71’s picture

I use admin, user ID 1... so... no special rights needed.
But I also enabled all permissions, without success.
The same problem has DHTML Menu module.

Normally, in Vocabulary index pages appear 2 links: Path and Settings.
After upgrading to Drupal 6.2, these links disappears.

xano’s picture

A 6.2 incompatibility after all. I'll look into it this week(end).

xano’s picture

Title: Drupal 6.2 - Access denied to settings page » Drupal 6.2 menu API change implementation
Assigned: Unassigned » xano
Priority: Normal » Critical

In Drupal 6.2 the menu API has changed slightly. In order to improve security (practically) every menu item now needs an access callback set. Modules that hadn't implemented this already will not work with Drupal 6.2. This is what has been causing the Vocabulary Index admin pages to malfunction. The issue has been fixed and committed to version 6.x-1.1 and the dev version.

xano’s picture

Status: Active » Fixed
ionuts71’s picture

Fixed
I modified vocabindex.module file. After line 50 I added:
'access arguments'=>array('manage vocabulary admin pages'),.

That's all I think.

xano’s picture

That should be all, yes.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

xano’s picture

Assigned: xano » Unassigned