When in use with forum vocabularies (possibly others).

Regardless of role's view permission for given vocabulary, node is unavailable to view when created unless 'uncategorized' view permission is also set to yes.

Turning module off and on fixes all roles.

Changing a given role's permissions in any way makes all nodes correctly available to give role.

Using mySQL, tested with 4.7 release on 6/30/06

Comments

here’s picture

the problem seems to be the lack of proper entry to the node_access table.... the correct entries show up after kicking the system a bit as described above.

keve’s picture

I am trying to regenerate it.

Can you try it with creating other node types?

keve’s picture

I cannot regenerate this bug.
I simly create a forum or other node type, but for me it seems to work.

The forum that you create, have only one term (the forum itself), or is it a multiple term node?

Can you provide detailed script how to regenerate it on a clean install?

azote’s picture

I was able to reproduce this problem....

create 2 forums (f1,f2)

create 2 user roles (A,B)

alow role A to see and post to f1 but not to f2

alow role B to see and post to f1 and f2

when users A posts on the forum f1 they can not see their posts..... (only old posts on the forums)
while B can. see what A posted.

keve’s picture

Priority: Normal » Critical

Finally i could regenerate it. Making it Critical

keve’s picture

Found the error: taxonomy (taxonomy nodeapi) is saved only after TAC refreshreshes node_access table. That is why, TAC assumes it is uncategorized node.

I have to modify the weight of taxonomy_access.module in database table 'system' from 0 to 10. I guess the best method is to do it w/ update.php. I will write the script for it ASAP.

catch’s picture

We've found a similar issue today (along with the tracker.module one).
The active forum topics and most recently viewed blocks were showing up private forums to authenticated and anonymous users. You could backtrack to the forum itself but only see the newest content listed, not all the topics.

Switching access to uncategorised nodes off seems to have disabled the back door. We're going to make a duplicate of our site this evening and try to replicate some of these issues again. Happy to help out with testing for either of these issues.

keve’s picture

Status: Active » Fixed

Commited to 4.7.

DO NOT FORGET TO RUN UPDATE.PHP!!!!

azote’s picture

great thanks

Anonymous’s picture

Status: Fixed » Closed (fixed)
here’s picture

Version: » 4.7.x-1.x-dev

thank you so much. wonderful module.