I am trying to get ACL and Content Access module to work with the quiz module. I have the latest versions of ACL, Content Access and quiz with Drupal 5.
I can get it to limit access by user on a regular node (page, story, etc). But it will not on a quiz node, saying Access Denied no matter what I do, (or allowing everyone to see it). I think it has something to do with the way multi-questions are nodes that belong to the 'parent' quiz node. I do not want to have to go in and grant access to each question in the quiz. Anyone else try to get this to work? I have tried everything and am out of ideas. Thanks!
Comments
Comment #1
salvisStart by installing devel_node_access and enabling its debug mode.
Comment #2
sunsetco commentedI am trying to accomplish the same thing. Did you get anything figured out?
Comment #3
salvisWhen (if) the Quiz authors decided to use nodes for questions, they bought all the benefits and burdens of using nodes. One of them is node access working on each and every node. However, the module that defines the node type can override node access through hook_access(). For example, it could check the accessibility of the quiz node and enable access to the question nodes based on the result.
You'll have to move this over to the Quiz queue as a feature request...
Comment #4
keyone commentedI did come up with a hack for this. Are you still interested?
Comment #5
salvisYes, sure, let's see it.
Comment #6
SeanLiu commentedHi,
I'm getting the same problem,but in Drupal 6.10,content_access-6.x-1.0,acl-6.x-1.0-beta4.
Can you please share your hack?
Thanks
Comment #7
duaelfrThis version of Quiz is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.