Commit 00da23c6 by Diana Huang

Fix spelling of permission.

parent 6feeb135
......@@ -117,7 +117,7 @@ class DiscussionXBlock(XBlock, StudioEditableXBlockMixin, XmlParserMixin):
'course_id': self.course_key,
'can_create_thread': self.has_permission("create_thread"),
'can_create_comment': self.has_permission("create_comment"),
'can_create_subcomment': self.has_permission("create_subcomment"),
'can_create_subcomment': self.has_permission("create_sub_comment"),
}
fragment.add_content(self.runtime.render_template('discussion/_discussion_inline.html', context))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment