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

When mod/choice:deleteresponses is NOT enabled, you still get the option to delete.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.1, 2.0
    • Fix Version/s: 1.9.2
    • Component/s: Choice
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Even with this capability disabled for the users role, they still see the option to delete the response. It doesn't actually do it (it silently ignores it). I guess there's two things here...
      1. You shouldn't get the option if you don't have it
      2. The check for the capability when the action is carried out should actually generate an error if it isn't allowed.

        Attachments

          Activity

            People

            Assignee:
            howardsmiller Howard Miller
            Reporter:
            howardsmiller Howard Miller
            Tester:
            Helen Foster Helen Foster
            Participants:
            Component watchers:
            Dan Marsden, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jul/08