Access to Lesson and Attachment editing fixed.