You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Retract the local/archiving:create capability from the teacher role
Verify that the teacher role has the local/archiving:view
Login as teacher
Go to a course
Create a quiz in the course
Go to the archiving page of the course
Expected result:
You should see the quiz archive jobs list at the bottom of the page
You should not see the widget to create an archive at the top of the page
Actual result
You see the quiz archive jobs list at the bottom of the page
You see the widget to create an archive at the top of the page as well
If you click the "Create archive" button, you run into a "Sorry, but you do not currently have permissions to do that (Create new archives)." exception
Steps to reproduce:
Login as admin
Retract the local/archiving:create capability from the teacher role
Verify that the teacher role has the local/archiving:view
Login as teacher
Go to a course
Create a quiz in the course
Go to the archiving page of the course
Expected result:
Actual result