Moodle

Allow question types to upload files as they are attempted

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9
  • Component/s: Questions
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Issue Links

Activity

Hide
Tim Hunt added a comment -

I have checked in the code for this.

Petr, I would be really grateful if you could review it, particularly from a security point of view. Thanks.

Show
Tim Hunt added a comment - I have checked in the code for this. Petr, I would be really grateful if you could review it, particularly from a security point of view. Thanks.
Hide
Jamie Pratt added a comment -

I'm wondering why you give permission to download to people who have permission to view reports. If they have permission to view reports but no permission to grade maybe it is better they cannot download other's files?? OR should someone with the reportresponses_view permission be able to download files? Probably this would be a good idea. Can users download these files from there? I'm not aware of a question type that involves a file upload as an answer to a question actually? Are there such question types??

Show
Jamie Pratt added a comment - I'm wondering why you give permission to download to people who have permission to view reports. If they have permission to view reports but no permission to grade maybe it is better they cannot download other's files?? OR should someone with the reportresponses_view permission be able to download files? Probably this would be a good idea. Can users download these files from there? I'm not aware of a question type that involves a file upload as an answer to a question actually? Are there such question types??
Hide
Tim Hunt added a comment -

The question type that uses this facility is the file upload question type that Adrianne Boyd wrote as part of last GSoC. (http://moodle.org/mod/data/view.php?d=13&rid=976)

However, this is a often-requested feature for the Essay question type, so my thinking is that now we have Adrianne's code as a proof of concept, I will actually add this functionality to the essay question type for 2.0 (as an option that the teacher can turn on).

I think the logic with the capabilities is that the file is part of the student's response. mod/quiz:viewreports lets you see student responses, so people with that capability should be able to see the files.

Show
Tim Hunt added a comment - The question type that uses this facility is the file upload question type that Adrianne Boyd wrote as part of last GSoC. (http://moodle.org/mod/data/view.php?d=13&rid=976) However, this is a often-requested feature for the Essay question type, so my thinking is that now we have Adrianne's code as a proof of concept, I will actually add this functionality to the essay question type for 2.0 (as an option that the teacher can turn on). I think the logic with the capabilities is that the file is part of the student's response. mod/quiz:viewreports lets you see student responses, so people with that capability should be able to see the files.

People

Vote (0)
Watch (4)

Dates

  • Created:
    Updated:
    Resolved: