Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-10273

students view the calendar "New event" button, but event is not saved due to lack of capability

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.1
    • Component/s: Calendar
    • Labels:
      None
    • Environment:
      Moodle 1.8.1 migtrated from a 1.6.x . DB UTF8
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      to reproduce the bug:
      1. as teacher, add a calendar block
      2. now logoff and login as student enrolled in the above course
      3. as student, try to add a user event
      4. Moodle allows student to edit a new user event with all the needed parameters
      5. now clicking "save", Moodle returns an error "you are not allowed to do this", due to lack of student's capability.

      If the student does not have such clendar capability by default, the New event button should not be available. Otherwise, enable this capability by default in the student legacy role.

        Attachments

          Activity

            People

            • Assignee:
              lazyfish Yu Zhang
              Reporter:
              andreabix Andrea Bicciolo
              Tester:
              Nobody
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jun/07