Issue Details (XML | Word | Printable)

Key: MDL-14676
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jamie Pratt
Reporter: Joseph Rézeau
Votes: 1
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

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

Created: 03/May/08 08:15 PM   Updated: 08/Oct/08 07:49 PM
Return to search
Component/s: Questions, Roles
Affects Version/s: 1.9
Fix Version/s: 1.9.3

Issue Links:
Duplicate
 

Participants: Jamie Pratt, John Isner, Joseph Rézeau, Pierre Pichet and Tim Hunt
Security Level: None
Resolved date: 08/Oct/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
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...

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Jamie Pratt made changes - 08/Oct/08 05:44 PM
Field Original Value New Value
Link This issue duplicates CONTRIB-485 [ CONTRIB-485 ]
Jamie Pratt made changes - 08/Oct/08 06:02 PM
Summary In question bank, problem with moodle/question:editmine In question bank, problem with moodle/question:edit* when do not have moodle/question:move*
Jamie Pratt made changes - 08/Oct/08 06:21 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Fix Version/s 1.9.3 [ 10290 ]
Assignee Tim Hunt [ timhunt ] Jamie Pratt [ jamiesensei ]