Hi all,
I was wondering what your opinion is on the following: If a student tries to access the 'Edit submission' page directly, by using it's URL (.../assign/view.php?id=...&action=editsubmission), they can do so as long as the assignment is open and hasn't passed the deadline or cut-off date. After the cut-off date, you can still try to access this page, but a generic error box is displayed:
"error/nopermission" with a link to a Moodle docs page to explain the error
Wouldn't it be more user friendly to display information stating: "You are trying to access a page that is no longer available to you. The deadline for this assignment was {$->deadline}, the cut-off date was {$->cutoffdate), today is {$->datetime}."