It looks like a 'score long answer' permission is required for long answers to be scored, but there is no hook_perm() implementation that registers it, so nobody can have it. I do see a 'score quiz question' permission, however, but nothing appears to be using it.

I'm relatively new to Drupal, but here's what I think would solve this: I'm not sure whether you intend for 'score long answer' or 'score quiz question' to allow people to score long-answer questions. If it should be 'score long answer', then the long_answer module needs a hook_perm() implementation that returns that permission. Otherwise, if it should be 'score quiz question', then the long_answer module needs to be updated in the various places that check for a 'score long answer' permission (so that it will check for 'score quiz question' instead).

Comments

mbutcher’s picture

This is now resolved.

The long answer implementation of hook_perm() was removed a while back, since quiz_question provides most of the permissions used in quiz. However, "score long answer" is a legitimate permission and needs to be added back.

Alpha 2 (and the developer snapshots) will have this fix.

mbutcher’s picture

Status: Active » Fixed

Ugh... forgot to mark this as fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.