Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.7.3, 2.8.1, 2.9
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
wip-
MDL-48325-master -
-
Team A Sprint 1, Team '; drop tables Sprint 2
-
Small
Description
To reproduce...
1. Create (or use) a database with a few entries
2. In the Student role disable mod/data:exportownentry capability (make sure exportallentries and exportentry are also disabled, but this is the default)
3. Enable Porfolios on the site and enable (+ make visible) the File Download repository
4. Assign a student to the course with the database activity
5. Log in as that student and display the database list.
6. Note the 'Export to portfolio' button at the bottom of the page.
7. Click it and you get a 'no capability' error
The display of the button should properly check capabilties.
Attachments
Issue Links
- Testing discovered
-
MDL-48941 mod/data:exportentry and mod/data:exportallentries are basically the same capability.
-
- Closed
-