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

In question bank, problem with moodle/question:edit* when do not have moodle/question:move*

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9.3
    • Component/s: Questions, Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Using moodle 1.9.

      1- As Admin,
      a. create a new role called CanCreateSystemQuestions with Allowed permissions: moodle/question:add; moodle/question:editmine.
      b. create a new role called CanUseSystemQuestions with Allowed permission: moodle/question:useall
      Assign these 2 roles to all teachers on your moodle site.

      2- Log in as teacher A
      a. create question "Question A" in System default and save it.
      b. try to edit "Question A" : you can click the Edit icon, you see the Edit question screen which says:
      You have permission to :

      • Edit this question
      • Save this as a new question
        Edit your question and click on the Save changes to save it in the same (System) category. You see an error message:
        Sorry, but you do not currently have permissions to do that (move).

      There seems to be a contradiction of "permissions" somewhere...

      Joseph

      PS.-- Clicking on the "More information about this error link" takes me to the http://docs.moodle.org/en/error/moodle/nopermissions page which informs me that "If you believe that your roles for that user DO allow that action you were attempting, then you may have found a bug. Congratulations!" Hence this bug report...

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  1 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    15/Oct/08