Be sure you are enrolled in the course in the correct role when viewing/troubleshooting behavior.
I must have forgot this rule. I was looking at a course today, wanting to actually submit an assignment....When I did not see the Upload files button when viewing. Looked like this.
The steps I performed to test why the Upload files button was not visible to me. I am a site admin.
Changed my role to student - no change
Switched back to my normal role to look at the permissions of the assignment - is it including the student role?
Well - that looked ok too.
Looked in the DB - in the mdl_assignment table - comparing this course with another whose submit buttons appeared in the assignments. I was looking at the assignmenttype, resubmit, and the var1-4 values. Did not find anything odd in here.
Tried changing the assignmenttype from upload to uploadsingle (this is simplifying the assignment) -
nothing changed.
What the heck?
Then I enrolled a test account called student james into the course in the student role.
I browsed the user accounts in the moodle, found student james, clicked on the account and choose Login as...
When I browsed the course and the assignment in question, this is what I saw.
Moral of the story?
Be sure you are enrolled in the course in the correct role when viewing/troubleshooting behavior.



No comments:
Post a Comment