Please sign in to comment.
MDL-34862 question preview: improve preview ownership check.
Users should only be able to access their own quetion preview. In the past, for reasons I can no longer remember, this was enforced using the session. It is much better to set the question_usage to belong to the user's context.
- Loading branch information...
Showing with 8 additions and 10 deletions.