How to reproduce
To reproduce this bug you need Administrator permissions.
- Via "Site Administration > Users > Define Roles" delete the permission "moodle/question:editall" for the role "editingteacher"
- Create a question bank in a Moodle course
- Add one question to this question bank
- Note: you can see the status of this question in the question bank
- Enrol as an editingtecher in the course where you created the question bank
- Navigate to the question you created in step 3
- Note: you cannot see the status of the question in the question bank
Problem
As I teacher without permission to edit questions in a question bank, I can't see the status or edit the status of a question.
Expected behaviour
As I teacher without permission to edit questions in a question bank, I can see the status of a question but I cannot edit the status of a question.