Install
Works with Drupal: ^10.2 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
76.09 KB
MD5: e0c4fa7cd920c6977d4a8e3c6679ca26
SHA-1: e440d0bd7deac501ddbffdb64f1462dc47207907
SHA-256: 63f5a16e97dae7f4be6cd066c74c8887ac4d5b42a961df30eff5a1e2aedccc4e
Download zip
121.78 KB
MD5: e206406564c1487f1d399d4fef297925
SHA-1: 5e24fab76c33f82b76901ac44b400270890dabae
SHA-256: 02a8aaab764e4ce2e8a6822ae0f0d3b884d727bf9bab755e2e7847905bcf1eb6
Release notes
Security fix: the SCORM attempts report is restricted to users who may edit the node. The iOS 13 fix loads with the player only.
Security
- The SCORM attempts report shipped with the module (view
scorm_attempts, tab "Attempts" atnode/%node/scorm-attempts) had no access restriction. Everyone, anonymous visitors included, could list the attempts of all users of a learning object with their names and scores.
The view now uses the module's report access, asscorm_report_per_nodealready did: only users who may edit the node with the SCORM field see it. Its node argument also refuses requests without a node and validates it as a node. scorm_field_update_10202()applies the same to existing sites that kept the shipped access setting (None). A view whose access was configured on the site is left as it is.
Fixed
- The iOS 13 fix of the player, and with it jQuery, is no longer attached to every page of the site. It only adjusts the player's iframe, so it is now a dependency of the player library, which both players attach.
composer.jsonrequiresdrupal/attempt_mgmt ^1.0@betainstead of the development branch. Sites can install a tagged release of Attempt Management without an inline alias such as"1.0.0-beta2 as 1.0.x-dev"; 1.0.0-beta3 is recommended.
Upgrade notes
- Run the database updates (
drush updb). - If
views.view.scorm_attemptsis part of your exported configuration with the access setting None, the update changes the active configuration only: export the configuration afterwards (drush cex), otherwise the next configuration import (for exampledrush deploy) restores the open view. - A site whose view has its own access setting should check that it restricts the report to the people who may see learners' results.
Changes since 2.0.4
- fix: Restrict the SCORM attempts report to those who may edit the node
- fix: Load the iOS 13 fix with the player only, require a tagged Attempt Management