Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-2752

It seems that the installer for game module in Moodle 2 does not create/assign the 'mod/game:view' capability to teachers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • None
    • 2.0, 2.0.1
    • Module: Game
    • Moodle 2.0 (Build: 20101130) / XAMPP on mac os x.

      • I installed the game module from the Zip on a fairly new Moodle 2 install.
      • I created a snakes and ladders game as a course creator.
      • When I went to Save and display the activity I got the message "Sorry, you do not currently have permissions to do that (view)" (link, http://docs.moodle.org/en/error/moodle/nopermissions) - see the attachment.
      • I tried commenting out line 24 of mod/game/view.php: require_capability('mod/game:view', $context);
      • The game activity displayed OK, so I suggest that the permissions are not being created in the installer.

      Thanks for your attention,

      Nick

            bdaloukas Vasilis Daloukas
            nfreear Nick Freear (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.