Closed (fixed)
Project:
Taxonomy Access Control
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2006 at 18:54 UTC
Updated:
22 Aug 2006 at 16:05 UTC
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
Comment #1
here commentedthe 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.
Comment #2
keve commentedI am trying to regenerate it.
Can you try it with creating other node types?
Comment #3
keve commentedI 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?
Comment #4
azote commentedI 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.
Comment #5
keve commentedFinally i could regenerate it. Making it Critical
Comment #6
keve commentedFound 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.
Comment #7
catchWe'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.
Comment #8
keve commentedCommited to 4.7.
DO NOT FORGET TO RUN UPDATE.PHP!!!!
Comment #9
azote commentedgreat thanks
Comment #10
(not verified) commentedComment #11
here commentedthank you so much. wonderful module.