In drupal 4.6.5 I am using taxonomy_access together with the image module. I have created one image gallery (ie. one category) and disabled all permissions in category permissions for anonymous users. They cannot see the images in the image gallery, but they are able to view name of the image gallery.

Is this a bug? I expected the image gallery to be completely hidden when a user does not permission to view it.

I am using mysql.

Comments

keve’s picture

Did you patch taxonomy.module?

chris_dk’s picture

Should it be patched?

If I use the patched version for drupal 4.6.5 (taxonomy.module.patched) I get the following error:

Fatal error: Cannot redeclare taxonomy_perm() (previously declared in /hsphere/local/home/salsafyr/curo.dk/modules/taxonomy.module:13) in /hsphere/local/home/salsafyr/curo.dk/modules/taxonomy_access/taxonomy_access.module on line 14

keve’s picture

Please, read instal.txt more carefully.
You should OVERWRITE /modules/taxonomy.module with the supplied taxonomy.module.patched.

chris_dk’s picture

That's what I did. I copied the patched file over the existing file.

keve’s picture

Please, check your installation.
You might have duplicate taxonomy.module (Fatal error: Cannot redeclare taxonomy_perm() )

If it does not help, reinstall drupal, and apply patch taxonomy.patch (instead of using the ready-to-use patched file)

keve’s picture

Status: Active » Closed (fixed)

I consider this to be closed.