Permissions on root article no longer allow students to edit it.

This commit is contained in:
Bridger Maxwell
2012-08-15 21:47:08 -04:00
parent 48e9dc8031
commit 262a49a6da

View File

@@ -116,5 +116,13 @@ def get_or_create_root():
root = URLPath.create_root(title="edX Wiki",
content=starting_content)
article = root.article
article.group = None
article.group_read = True
article.group_write = False
article.other_read = True
article.other_write = False
article.save()
return root