Closed (fixed)
Project:
Simple Access
Version:
5.x-1.3
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2008 at 16:11 UTC
Updated:
1 May 2008 at 15:02 UTC
I don't have full information on this problem yet, because I'm still not totally certain what I should be looking for.
The situation: any time I create a new node, any non-administrator attempt to access it, or any view containing it, generates an Access Denied error. I have to rebuild the permissions table every time I create or edit a node.
Any suggestions on where I could start looking to troubleshoot this problem?
Comments
Comment #1
SabbeRubbish commentedI have the same problem and I can explain some about it.
It has to do with forum topics - but as their forum_access works perfectly together with simple_access I think that's not the problem.
Context: Any user on the site creates a(ny) node or comment - make sure not the administrator.
Problem: Other users CAN NOT see that post/comment untill the "Rebuild permissions" is issued.
Solution: needed quickly - this is affecting my site's interactivity, and I'm not able to disable simple_access to due access restrictions ;-)
Thanks a lot - really need quick fix.
Thank you.
SabbeRubbish
Comment #2
raygun commentedHaving the exact same problem here. Pages that have been edited show an access denied error to anonymous users until permissions are rebuilt. Not sure I can add any more information...
Has anyone been able to fix this?
Comment #3
SabbeRubbish commentedNo luck yet, and I'm not managing much content (-> always surprised when I see 403's), I wouldn't want to dream what happens when having hundreds of posts per day (I'm happy with an average 2 ;))
This problem is really critical, please advise.
Comment #4
jonne.freebase commentedI think I'm having the same issue, subscribing to this thread.
Comment #5
jonne.freebase commentedIt seems like after something is posted, for some reason the permissions don't get inserted into the `node_access`table. Not sure why, though.
Comment #6
gordon commentedI have fixed this in dev. Please check this and make sure I have fixed this and let me know.
Thanks.
Comment #7
jonne.freebase commentedHi Gordon,
Thanks for looking at this :).
It seems to work if you select some of the checkboxes in 'access', but if you leave them blank it's still broken (I'm correct that the default value for 'realm' in the database should be 'all', instead of 'simple_access_author', right? Or is it supposed to be hiding stuff by default?).
Jonathan
Comment #8
gordon commentedGive this ago, It should be creating the system correctly now.
Let me know and I will release a new version.
Comment #9
jonne.freebase commentedThis seems to work properly on my setup. Defaults to showing for all, and changing permissions works properly too now.
Thanks for fixing this so quickly.
Jonathan
Comment #10
domesticat commentedI'm not certain it's a complete fix on my end, but I need a couple more days to test.
Comment #11
domesticat commentedI've done a bit more testing, and while better, it's not wholly fixed yet for me. I'm not getting the 'access denied' error when I look at a view that contains the just edited/saved node, but the node isn't publicly viewable until I rebuild permissions. I'd say you're on the right track.
I'll be adding more new nodes in the next few days. I'll be happy to provide info about what's saved into the database before and after I run rebuild node permissions. Just let me know what info you'd like to see.
Comment #12
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #13
SabbeRubbish commentedComment #14
SabbeRubbish commentedCould it be that this issue has been addressed in the latest version? (together with the security fix)
I don't seem to be having the problem anymore.
Comment #15
domesticat commentedYes. It seems to be working for me as well. Marking fixed with a happy little squee noise.
Comment #16
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.