-
Bug
-
Resolution: Deferred
-
Major
-
None
-
2.6.10, 2.7, 2.7.7, 2.8.5, 2.9
-
MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
MDL-45815_master -
As a student I submit a record using an mform in the frame of a newmodule. The mform includes some filemanager elements.
As different student I do not have the capability to edit the already submitted record but I can still browse it.
So, as module developer, I write the module in order to provide the record to the second student calling the moodleform class in readonly mode
...BUT...
as you can see in the attached php file, THERE IS NO WAY to display the filemanager mform element in readonly mode.
To get evidence of this, change in the provided php file line 33 from:
$editable = true;
to
$editable = false;