Hi,

I am having a bit of a situation here at Free Software Magazine.
I (painfully) ported the magazine to Drupal 7, using the Omega theme. Now, if you go to:

http://www.freesoftwaremagazine.com/category/opinions

Which is an alias for:

http://www.freesoftwaremagazine.com/taxonomy/terms/2096

It will show me _all_ nodes -- even the unpublished ones!

This site was a port from a Drupal 5 installation. I looked at the source code of taxonomy_select_nodes() and the problem seems to be in $query->addTag('node_access') that is not possibly doing its job.

Does anybody know what I can do? The magazine ranks quite up in Google and I am getting a lot of Permission Denied errors in my logs...

Bye!

Merc.

Comments

mercmobily’s picture

Hi,

...does anybody have a clue about this one...?

Merc.

mercmobily’s picture

Hi,

It was my fault!
I populated taxonomy_index by hand after the migration. I didn't realise that the index should only contain PUBLISHED articles. I realised this after noticing that new articles didn't have the problem.

Leaving this note here for people who might have the same issue.

Thanks!

Merc.