Skip to content

v4.1.1 - Moodle 4.1 to 4.5 support, finer capabilities

Choose a tag to compare

@junpataleta junpataleta released this 21 Oct 15:45
· 20 commits to main since this release

Added

  • Capability check when editing/deleting others' questions.
    • Only admins or roles with the mod/threesixo:editothersquestions capability can edit other users' questions enabled on the system context.
    • Only admins or roles with the mod/threesixo:deleteothersquestions capability can delete other users' questions enabled on the system context.
  • Ability for users to filter the list of questions on the question bank modal dialogue to display only the questions that they created.

Changed

  • Adding/editing/deleting questions now have their separate capability checks.
  • Newly created questions are now associated with the user who created them.
  • Existing questions before the upgrade can only be edited or deleted by the admin or by roles with the mod/threesixo:editothersquestions or mod/threesixo:deleteothersquestions capabilities, respectively.
  • v4.1.1 supports only Moodle versions 4.1 up to 4.5. For Moodle versions 5.0 and later, please use the v5.0.0 version of the plugin.

Full Changelog: v4.1.0...v4.1.1